v1alpha1

package
v1.125.0 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the storage v1alpha1 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/storage +k8s:defaulter-gen=TypeMeta +groupName=storage.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: "storage.cnrm.cloud.google.com", Version: "v1alpha1"}

	// 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

	StorageHMACKeyGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(StorageHMACKey{}).Name(),
	}
)

Functions

This section is empty.

Types

type StorageHMACKey

type StorageHMACKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   StorageHMACKeySpec   `json:"spec,omitempty"`
	Status StorageHMACKeyStatus `json:"status,omitempty"`
}

StorageHMACKey is the Schema for the storage API +k8s:openapi-gen=true

func (*StorageHMACKey) DeepCopy

func (in *StorageHMACKey) DeepCopy() *StorageHMACKey

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

func (*StorageHMACKey) DeepCopyInto

func (in *StorageHMACKey) DeepCopyInto(out *StorageHMACKey)

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

func (*StorageHMACKey) DeepCopyObject

func (in *StorageHMACKey) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageHMACKeyList

type StorageHMACKeyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []StorageHMACKey `json:"items"`
}

StorageHMACKeyList contains a list of StorageHMACKey

func (*StorageHMACKeyList) DeepCopy

func (in *StorageHMACKeyList) DeepCopy() *StorageHMACKeyList

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

func (*StorageHMACKeyList) DeepCopyInto

func (in *StorageHMACKeyList) DeepCopyInto(out *StorageHMACKeyList)

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

func (*StorageHMACKeyList) DeepCopyObject

func (in *StorageHMACKeyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type StorageHMACKeySpec

type StorageHMACKeySpec struct {
	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The service-generated accessId of the resource. Used for acquisition only. Leave unset to create a new resource. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. The email address of the key's associated service account. */
	ServiceAccountEmail string `json:"serviceAccountEmail"`

	/* The state of the key. Can be set to one of ACTIVE, INACTIVE. Default value: "ACTIVE" Possible values: ["ACTIVE", "INACTIVE"]. */
	// +optional
	State *string `json:"state,omitempty"`
}

func (*StorageHMACKeySpec) DeepCopy

func (in *StorageHMACKeySpec) DeepCopy() *StorageHMACKeySpec

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

func (*StorageHMACKeySpec) DeepCopyInto

func (in *StorageHMACKeySpec) DeepCopyInto(out *StorageHMACKeySpec)

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

type StorageHMACKeyStatus

type StorageHMACKeyStatus struct {
	/* Conditions represent the latest available observations of the
	   StorageHMACKey's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The access ID of the HMAC Key. */
	// +optional
	AccessId *string `json:"accessId,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"`

	/* HMAC secret key material. */
	// +optional
	Secret *string `json:"secret,omitempty"`

	/* 'The creation time of the HMAC key in RFC 3339 format. '. */
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty"`

	/* 'The last modification time of the HMAC key metadata in RFC 3339 format.'. */
	// +optional
	Updated *string `json:"updated,omitempty"`
}

func (*StorageHMACKeyStatus) DeepCopy

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

func (*StorageHMACKeyStatus) DeepCopyInto

func (in *StorageHMACKeyStatus) DeepCopyInto(out *StorageHMACKeyStatus)

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