@kubernetes-models/flux-cd
Version:
43 lines (42 loc) • 1.43 kB
TypeScript
import { IIoK8sApimachineryPkgApisMetaV1Time } from "@kubernetes-models/apimachinery/apis/meta/v1/Time";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* Artifact represents the output of a source synchronisation.
*/
export interface IArtifact {
/**
* Checksum is the SHA256 checksum of the artifact.
*/
"checksum"?: string;
/**
* LastUpdateTime is the timestamp corresponding to the last update of this
* artifact.
*/
"lastUpdateTime": IIoK8sApimachineryPkgApisMetaV1Time;
/**
* Path is the relative file path of this artifact.
*/
"path": string;
/**
* Revision is a human readable identifier traceable in the origin source
* system. It can be a Git commit SHA, Git tag, a Helm index timestamp, a Helm
* chart version, etc.
*/
"revision"?: string;
/**
* URL is the HTTP address of this artifact.
*/
"url": string;
}
/**
* Artifact represents the output of a source synchronisation.
*/
export declare class Artifact extends Model<IArtifact> implements IArtifact {
"checksum"?: string;
"lastUpdateTime": IIoK8sApimachineryPkgApisMetaV1Time;
"path": string;
"revision"?: string;
"url": string;
constructor(data?: ModelData<IArtifact>);
}
export type { IArtifact as IComGithubFluxcdSourceControllerApiV1beta1Artifact, Artifact as ComGithubFluxcdSourceControllerApiV1beta1Artifact };