@kubernetes-models/flux-cd
Version:
66 lines (65 loc) • 3.02 kB
TypeScript
import { IComGithubFluxcdPkgApisMetaReconcileRequestStatus } from "../../github.com/fluxcd/pkg/apis/meta/ReconcileRequestStatus.js";
import { IComGithubFluxcdPkgApisMetaArtifact } from "../../github.com/fluxcd/pkg/apis/meta/Artifact.js";
import { IIoK8sApimachineryPkgApisMetaV1Condition } from "@kubernetes-models/apimachinery/apis/meta/v1/Condition";
import { IComGithubFluxcdSourceControllerApiV1beta2OCILayerSelector } from "./OCILayerSelector.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* OCIRepositoryStatus defines the observed state of OCIRepository
*/
export interface IOCIRepositoryStatus extends IComGithubFluxcdPkgApisMetaReconcileRequestStatus {
/**
* Artifact represents the output of the last successful OCI Repository sync.
*/
"artifact"?: IComGithubFluxcdPkgApisMetaArtifact;
/**
* Conditions holds the conditions for the OCIRepository.
*/
"conditions"?: Array<IIoK8sApimachineryPkgApisMetaV1Condition>;
/**
* ContentConfigChecksum is a checksum of all the configurations related to
* the content of the source artifact:
* - .spec.ignore
* - .spec.layerSelector
* observed in .status.observedGeneration version of the object. This can
* be used to determine if the content configuration has changed and the
* artifact needs to be rebuilt.
* It has the format of `<algo>:<checksum>`, for example: `sha256:<checksum>`.
*
* Deprecated: Replaced with explicit fields for observed artifact content
* config in the status.
*/
"contentConfigChecksum"?: string;
/**
* ObservedGeneration is the last observed generation.
*/
"observedGeneration"?: number;
/**
* ObservedIgnore is the observed exclusion patterns used for constructing
* the source artifact.
*/
"observedIgnore"?: string;
/**
* ObservedLayerSelector is the observed layer selector used for constructing
* the source artifact.
*/
"observedLayerSelector"?: IComGithubFluxcdSourceControllerApiV1beta2OCILayerSelector;
/**
* URL is the download link for the artifact output of the last OCI Repository sync.
*/
"url"?: string;
}
/**
* OCIRepositoryStatus defines the observed state of OCIRepository
*/
export declare class OCIRepositoryStatus extends Model<IOCIRepositoryStatus> implements IOCIRepositoryStatus {
"lastHandledReconcileAt"?: string;
"artifact"?: IComGithubFluxcdPkgApisMetaArtifact;
"conditions"?: Array<IIoK8sApimachineryPkgApisMetaV1Condition>;
"contentConfigChecksum"?: string;
"observedGeneration"?: number;
"observedIgnore"?: string;
"observedLayerSelector"?: IComGithubFluxcdSourceControllerApiV1beta2OCILayerSelector;
"url"?: string;
constructor(data?: ModelData<IOCIRepositoryStatus>);
}
export type { IOCIRepositoryStatus as IComGithubFluxcdSourceControllerApiV1beta2OCIRepositoryStatus, OCIRepositoryStatus as ComGithubFluxcdSourceControllerApiV1beta2OCIRepositoryStatus };