v1beta1

package
v1.120.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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/clients/generated/pkg/apis/sourcerepo +k8s:defaulter-gen=TypeMeta +groupName=sourcerepo.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepositoryPubsubConfigs.

func (*RepositoryPubsubConfigs) DeepCopyInto

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

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

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

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. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* The disk usage of the repo, in bytes. */
	// +optional
	Size *int64 `json:"size,omitempty"`

	/* URL to clone the repository from Google Cloud Source Repositories. */
	// +optional
	Url *string `json:"url,omitempty"`
}

func (*SourceRepoRepositoryStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRepoRepositoryStatus.

func (*SourceRepoRepositoryStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL