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 PubsubConfigs ¶
type PubsubConfigs 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,omitempty"` /* 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 v1alpha1.ResourceRef `json:"serviceAccountRef,omitempty"` /* */ TopicRef v1alpha1.ResourceRef `json:"topicRef,omitempty"` }
func (*PubsubConfigs) DeepCopy ¶
func (in *PubsubConfigs) DeepCopy() *PubsubConfigs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PubsubConfigs.
func (*PubsubConfigs) DeepCopyInto ¶
func (in *PubsubConfigs) DeepCopyInto(out *PubsubConfigs)
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.ObjectMeta `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. */ PubsubConfigs []PubsubConfigs `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. */ 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 represents the latest available observations of the SourceRepoRepository's current state. */ Conditions []v1alpha1.Condition `json:"conditions,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.