UNPKG

@soft-stech/fleet

Version:
51 lines (50 loc) 2.05 kB
import { IObjectMeta } from "@soft-stech/apimachinery/apis/meta/v1/ObjectMeta"; import { Model, ModelData } from "@soft-stech/base"; /** * Content is used internally by Fleet and should not be used directly. It * contains the resources from a bundle for a specific target cluster. */ export interface IContent { /** * APIVersion defines the versioned schema of this representation of an object. * Servers should convert recognized schemas to the latest internal value, and * may reject unrecognized values. * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources */ "apiVersion": "fleet.cattle.io/v1alpha1"; /** * Content is a byte array, which contains the manifests of a bundle. * The bundle resources are copied into the bundledeployment's content * resource, so the downstream agent can deploy them. * @format byte */ "content"?: string; /** * Kind is a string value representing the REST resource this object represents. * Servers may infer this from the endpoint the client submits requests to. * Cannot be updated. * In CamelCase. * More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds */ "kind": "Content"; "metadata"?: IObjectMeta; /** * SHA256Sum of the Content field */ "sha256sum"?: string; } /** * Content is used internally by Fleet and should not be used directly. It * contains the resources from a bundle for a specific target cluster. */ export declare class Content extends Model<IContent> implements IContent { "apiVersion": IContent["apiVersion"]; "content"?: IContent["content"]; "kind": IContent["kind"]; "metadata"?: IContent["metadata"]; "sha256sum"?: IContent["sha256sum"]; static apiVersion: IContent["apiVersion"]; static kind: IContent["kind"]; static is: import("@soft-stech/base").TypeMetaGuard<IContent>; constructor(data?: ModelData<IContent>); }