UNPKG

cdktf-crd

Version:
83 lines (82 loc) 4.8 kB
import { Construct } from "constructs"; import { Manifest, type ManifestConfig } from "@cdktn/provider-kubernetes/lib/manifest"; export declare class SourcerepoCnrmCloudGoogleComSourceRepoRepositoryV1beta1 extends Manifest { constructor(scope: Construct, id: string, config: SourcerepoCnrmCloudGoogleComSourceRepoRepositoryV1beta1Config); } export interface SourcerepoCnrmCloudGoogleComSourceRepoRepositoryV1beta1Config extends ManifestConfig { manifest: { apiVersion: "sourcerepo.cnrm.cloud.google.com/v1beta1"; kind: "SourceRepoRepository"; metadata: { annotations?: { [key: string]: string; }; labels?: { [key: string]: string; }; name: string; namespace?: string; }; spec?: { /** * @description How this repository publishes a change in the repository through Cloud Pub/Sub. * Keyed by the topic names. */ pubsubConfigs?: { /** * @description The format of the Cloud Pub/Sub messages. * - PROTOBUF: The message payload is a serialized protocol buffer of SourceRepoEvent. * - JSON: The message payload is a JSON string of SourceRepoEvent. Possible values: ["PROTOBUF", "JSON"]. */ messageFormat: string; /** * @description Service account used for publishing Cloud Pub/Sub messages. This * service account needs to be in the same project as the * pubsubConfig. When added, the caller needs to have * iam.serviceAccounts.actAs permission on this service account. If * unspecified, it defaults to the compute engine default service * account. */ serviceAccountRef?: { /** @description Allowed value: The `email` field of an `IAMServiceAccount` resource. */ external?: string; /** @description Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */ name?: string; /** @description Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ */ namespace?: string; } & (unknown | unknown); topicRef: { /** @description Allowed value: The `name` field of a `PubSubTopic` resource. */ external?: string; /** @description Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names */ name?: string; /** @description Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ */ namespace?: string; } & (unknown | unknown); }[]; /** @description Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ resourceID?: string; }; status?: { /** @description Conditions represent the latest available observation of the resource's current state. */ conditions?: { /** @description Last time the condition transitioned from one status to another. */ lastTransitionTime?: string; /** @description Human-readable message indicating details about last transition. */ message?: string; /** @description Unique, one-word, CamelCase reason for the condition's last transition. */ reason?: string; /** @description Status is the status of the condition. Can be True, False, Unknown. */ status?: string; /** @description Type is the type of the condition. */ type?: string; }[]; /** @description ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ observedGeneration?: number; /** @description The disk usage of the repo, in bytes. */ size?: number; /** @description URL to clone the repository from Google Cloud Source Repositories. */ url?: string; }; }; }