Documentation ¶
Overview ¶
Generate deepcopy object for sourcerepo/v1beta1 API group
Package v1beta1 contains API Schema definitions for the sourcerepo v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/sourcerepo +k8s:defaulter-gen=TypeMeta +groupName=sourcerepo.cnrm.cloud.google.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "sourcerepo.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme SourceRepoRepositoryGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(SourceRepoRepository{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type RepositoryPubsubConfigs ¶ added in v1.45.0
type RepositoryPubsubConfigs struct { /* 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 `json:"messageFormat"` /* 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. */ // +optional ServiceAccountRef *v1alpha1.ResourceRef `json:"serviceAccountRef,omitempty"` /* */ TopicRef v1alpha1.ResourceRef `json:"topicRef"` }
func (*RepositoryPubsubConfigs) DeepCopy ¶ added in v1.45.0
func (in *RepositoryPubsubConfigs) DeepCopy() *RepositoryPubsubConfigs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPubsubConfigs.
func (*RepositoryPubsubConfigs) DeepCopyInto ¶ added in v1.45.0
func (in *RepositoryPubsubConfigs) DeepCopyInto(out *RepositoryPubsubConfigs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceRepoRepository ¶
type SourceRepoRepository struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SourceRepoRepositorySpec `json:"spec,omitempty"` Status SourceRepoRepositoryStatus `json:"status,omitempty"` }
SourceRepoRepository is the Schema for the sourcerepo API +k8s:openapi-gen=true
func (*SourceRepoRepository) DeepCopy ¶
func (in *SourceRepoRepository) DeepCopy() *SourceRepoRepository
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepoRepository.
func (*SourceRepoRepository) DeepCopyInto ¶
func (in *SourceRepoRepository) DeepCopyInto(out *SourceRepoRepository)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SourceRepoRepository) DeepCopyObject ¶
func (in *SourceRepoRepository) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SourceRepoRepositoryList ¶
type SourceRepoRepositoryList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SourceRepoRepository `json:"items"` }
SourceRepoRepositoryList contains a list of SourceRepoRepository
func (*SourceRepoRepositoryList) DeepCopy ¶
func (in *SourceRepoRepositoryList) DeepCopy() *SourceRepoRepositoryList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepoRepositoryList.
func (*SourceRepoRepositoryList) DeepCopyInto ¶
func (in *SourceRepoRepositoryList) DeepCopyInto(out *SourceRepoRepositoryList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SourceRepoRepositoryList) DeepCopyObject ¶
func (in *SourceRepoRepositoryList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SourceRepoRepositorySpec ¶
type SourceRepoRepositorySpec struct { /* How this repository publishes a change in the repository through Cloud Pub/Sub. Keyed by the topic names. */ // +optional PubsubConfigs []RepositoryPubsubConfigs `json:"pubsubConfigs,omitempty"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,omitempty"` }
func (*SourceRepoRepositorySpec) DeepCopy ¶
func (in *SourceRepoRepositorySpec) DeepCopy() *SourceRepoRepositorySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepoRepositorySpec.
func (*SourceRepoRepositorySpec) DeepCopyInto ¶
func (in *SourceRepoRepositorySpec) DeepCopyInto(out *SourceRepoRepositorySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceRepoRepositoryStatus ¶
type SourceRepoRepositoryStatus struct { /* Conditions represent the latest available observations of the SourceRepoRepository's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* 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 int `json:"observedGeneration,omitempty"` /* The disk usage of the repo, in bytes. */ Size int `json:"size,omitempty"` /* URL to clone the repository from Google Cloud Source Repositories. */ Url string `json:"url,omitempty"` }
func (*SourceRepoRepositoryStatus) DeepCopy ¶
func (in *SourceRepoRepositoryStatus) DeepCopy() *SourceRepoRepositoryStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepoRepositoryStatus.
func (*SourceRepoRepositoryStatus) DeepCopyInto ¶
func (in *SourceRepoRepositoryStatus) DeepCopyInto(out *SourceRepoRepositoryStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.