@kubernetes-models/flux-cd
Version:
38 lines (37 loc) • 1.67 kB
TypeScript
import { IComGithubFluxcdPkgApisMetaReconcileRequestStatus } from "../../github.com/fluxcd/pkg/apis/meta/ReconcileRequestStatus.js";
import { IComGithubFluxcdSourceControllerApiV1beta1Artifact } from "./Artifact.js";
import { IIoK8sApimachineryPkgApisMetaV1Condition } from "@kubernetes-models/apimachinery/apis/meta/v1/Condition";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* BucketStatus defines the observed state of a bucket
*/
export interface IBucketStatus extends IComGithubFluxcdPkgApisMetaReconcileRequestStatus {
/**
* Artifact represents the output of the last successful Bucket sync.
*/
"artifact"?: IComGithubFluxcdSourceControllerApiV1beta1Artifact;
/**
* Conditions holds the conditions for the Bucket.
*/
"conditions"?: Array<IIoK8sApimachineryPkgApisMetaV1Condition>;
/**
* ObservedGeneration is the last observed generation.
*/
"observedGeneration"?: number;
/**
* URL is the download link for the artifact output of the last Bucket sync.
*/
"url"?: string;
}
/**
* BucketStatus defines the observed state of a bucket
*/
export declare class BucketStatus extends Model<IBucketStatus> implements IBucketStatus {
"lastHandledReconcileAt"?: string;
"artifact"?: IComGithubFluxcdSourceControllerApiV1beta1Artifact;
"conditions"?: Array<IIoK8sApimachineryPkgApisMetaV1Condition>;
"observedGeneration"?: number;
"url"?: string;
constructor(data?: ModelData<IBucketStatus>);
}
export type { IBucketStatus as IComGithubFluxcdSourceControllerApiV1beta1BucketStatus, BucketStatus as ComGithubFluxcdSourceControllerApiV1beta1BucketStatus };