v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=cloudfunctionsfunction.google.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: cloudfunctionsfunction.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type CloudfunctionsFunction

type CloudfunctionsFunction struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CloudfunctionsFunctionSpec   `json:"spec,omitempty"`
	Status            CloudfunctionsFunctionStatus `json:"status,omitempty"`
}

func (*CloudfunctionsFunction) DeepCopy

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

func (*CloudfunctionsFunction) DeepCopyInto

func (in *CloudfunctionsFunction) DeepCopyInto(out *CloudfunctionsFunction)

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

func (*CloudfunctionsFunction) DeepCopyObject

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

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

func (*CloudfunctionsFunction) SetupWebhookWithManager

func (r *CloudfunctionsFunction) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CloudfunctionsFunction) ValidateCreate

func (r *CloudfunctionsFunction) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*CloudfunctionsFunction) ValidateDelete

func (r *CloudfunctionsFunction) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*CloudfunctionsFunction) ValidateUpdate

func (r *CloudfunctionsFunction) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CloudfunctionsFunctionList

type CloudfunctionsFunctionList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of CloudfunctionsFunction CRD objects
	Items []CloudfunctionsFunction `json:"items,omitempty"`
}

CloudfunctionsFunctionList is a list of CloudfunctionsFunctions

func (*CloudfunctionsFunctionList) DeepCopy

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

func (*CloudfunctionsFunctionList) DeepCopyInto

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

func (*CloudfunctionsFunctionList) DeepCopyObject

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

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

type CloudfunctionsFunctionSpec

type CloudfunctionsFunctionSpec struct {
	State *CloudfunctionsFunctionSpecResource `json:"state,omitempty" tf:"-"`

	Resource CloudfunctionsFunctionSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*CloudfunctionsFunctionSpec) DeepCopy

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

func (*CloudfunctionsFunctionSpec) DeepCopyInto

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

type CloudfunctionsFunctionSpecEventTrigger

type CloudfunctionsFunctionSpecEventTrigger struct {
	// The type of event to observe. For example: "google.storage.object.finalize". See the documentation on calling Cloud Functions for a full reference of accepted triggers.
	EventType *string `json:"eventType" tf:"event_type"`
	// Specifies policy for failed executions
	// +optional
	FailurePolicy *CloudfunctionsFunctionSpecEventTriggerFailurePolicy `json:"failurePolicy,omitempty" tf:"failure_policy"`
	// The name or partial URI of the resource from which to observe events. For example, "myBucket" or "projects/my-project/topics/my-topic"
	Resource *string `json:"resource" tf:"resource"`
}

func (*CloudfunctionsFunctionSpecEventTrigger) DeepCopy

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

func (*CloudfunctionsFunctionSpecEventTrigger) DeepCopyInto

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

type CloudfunctionsFunctionSpecEventTriggerCodec

type CloudfunctionsFunctionSpecEventTriggerCodec struct {
}

+k8s:deepcopy-gen=false

func (CloudfunctionsFunctionSpecEventTriggerCodec) Decode

func (CloudfunctionsFunctionSpecEventTriggerCodec) Encode

func (CloudfunctionsFunctionSpecEventTriggerCodec) IsEmpty

type CloudfunctionsFunctionSpecEventTriggerFailurePolicy

type CloudfunctionsFunctionSpecEventTriggerFailurePolicy struct {
	// Whether the function should be retried on failure. Defaults to false.
	Retry *bool `json:"retry" tf:"retry"`
}

func (*CloudfunctionsFunctionSpecEventTriggerFailurePolicy) DeepCopy

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

func (*CloudfunctionsFunctionSpecEventTriggerFailurePolicy) DeepCopyInto

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

type CloudfunctionsFunctionSpecEventTriggerFailurePolicyCodec

type CloudfunctionsFunctionSpecEventTriggerFailurePolicyCodec struct {
}

+k8s:deepcopy-gen=false

func (CloudfunctionsFunctionSpecEventTriggerFailurePolicyCodec) Decode

func (CloudfunctionsFunctionSpecEventTriggerFailurePolicyCodec) Encode

func (CloudfunctionsFunctionSpecEventTriggerFailurePolicyCodec) IsEmpty

type CloudfunctionsFunctionSpecResource

type CloudfunctionsFunctionSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Memory (in MB), available to the function. Default value is 256. Possible values include 128, 256, 512, 1024, etc.
	// +optional
	AvailableMemoryMb *int64 `json:"availableMemoryMb,omitempty" tf:"available_memory_mb"`
	//  A set of key/value environment variable pairs available during build time.
	// +optional
	BuildEnvironmentVariables map[string]string `json:"buildEnvironmentVariables,omitempty" tf:"build_environment_variables"`
	// Description of the function.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Name of the function that will be executed when the Google Cloud Function is triggered.
	// +optional
	EntryPoint *string `json:"entryPoint,omitempty" tf:"entry_point"`
	// A set of key/value environment variable pairs to assign to the function.
	// +optional
	EnvironmentVariables map[string]string `json:"environmentVariables,omitempty" tf:"environment_variables"`
	// A source that fires events in response to a condition in another service. Cannot be used with trigger_http.
	// +optional
	EventTrigger *CloudfunctionsFunctionSpecEventTrigger `json:"eventTrigger,omitempty" tf:"event_trigger"`
	// URL which triggers function execution. Returned only if trigger_http is used.
	// +optional
	HttpsTriggerURL *string `json:"httpsTriggerURL,omitempty" tf:"https_trigger_url"`
	// String value that controls what traffic can reach the function. Allowed values are ALLOW_ALL and ALLOW_INTERNAL_ONLY. Changes to this field will recreate the cloud function.
	// +optional
	IngressSettings *string `json:"ingressSettings,omitempty" tf:"ingress_settings"`
	// A set of key/value label pairs to assign to the function. Label keys must follow the requirements at https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements.
	// +optional
	Labels map[string]string `json:"labels,omitempty" tf:"labels"`
	// The limit on the maximum number of function instances that may coexist at a given time.
	// +optional
	MaxInstances *int64 `json:"maxInstances,omitempty" tf:"max_instances"`
	// The limit on the minimum number of function instances that may coexist at a given time.
	// +optional
	MinInstances *int64 `json:"minInstances,omitempty" tf:"min_instances"`
	// A user-defined name of the function. Function names must be unique globally.
	Name *string `json:"name" tf:"name"`
	// Project of the function. If it is not provided, the provider project is used.
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// Region of function. If it is not provided, the provider region is used.
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	// The runtime in which the function is going to run. Eg. "nodejs8", "nodejs10", "python37", "go111".
	Runtime *string `json:"runtime" tf:"runtime"`
	// Secret environment variables configuration
	// +optional
	SecretEnvironmentVariables []CloudfunctionsFunctionSpecSecretEnvironmentVariables `json:"secretEnvironmentVariables,omitempty" tf:"secret_environment_variables"`
	// Secret volumes configuration.
	// +optional
	SecretVolumes []CloudfunctionsFunctionSpecSecretVolumes `json:"secretVolumes,omitempty" tf:"secret_volumes"`
	//  If provided, the self-provided service account to run the function with.
	// +optional
	ServiceAccountEmail *string `json:"serviceAccountEmail,omitempty" tf:"service_account_email"`
	// The GCS bucket containing the zip archive which contains the function.
	// +optional
	SourceArchiveBucket *string `json:"sourceArchiveBucket,omitempty" tf:"source_archive_bucket"`
	// The source archive object (file) in archive bucket.
	// +optional
	SourceArchiveObject *string `json:"sourceArchiveObject,omitempty" tf:"source_archive_object"`
	// Represents parameters related to source repository where a function is hosted. Cannot be set alongside source_archive_bucket or source_archive_object.
	// +optional
	SourceRepository *CloudfunctionsFunctionSpecSourceRepository `json:"sourceRepository,omitempty" tf:"source_repository"`
	// Timeout (in seconds) for the function. Default value is 60 seconds. Cannot be more than 540 seconds.
	// +optional
	Timeout *int64 `json:"timeout,omitempty" tf:"timeout"`
	// Boolean variable. Any HTTP request (of a supported type) to the endpoint will trigger function execution. Supported HTTP request types are: POST, PUT, GET, DELETE, and OPTIONS. Endpoint is returned as https_trigger_url. Cannot be used with trigger_bucket and trigger_topic.
	// +optional
	TriggerHTTP *bool `json:"triggerHTTP,omitempty" tf:"trigger_http"`
	// The VPC Network Connector that this cloud function can connect to. It can be either the fully-qualified URI, or the short name of the network connector resource. The format of this field is projects/*/locations/*/connectors/*.
	// +optional
	VpcConnector *string `json:"vpcConnector,omitempty" tf:"vpc_connector"`
	// The egress settings for the connector, controlling what traffic is diverted through it. Allowed values are ALL_TRAFFIC and PRIVATE_RANGES_ONLY. Defaults to PRIVATE_RANGES_ONLY. If unset, this field preserves the previously set value.
	// +optional
	VpcConnectorEgressSettings *string `json:"vpcConnectorEgressSettings,omitempty" tf:"vpc_connector_egress_settings"`
}

func (*CloudfunctionsFunctionSpecResource) DeepCopy

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

func (*CloudfunctionsFunctionSpecResource) DeepCopyInto

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

type CloudfunctionsFunctionSpecSecretEnvironmentVariables added in v0.5.0

type CloudfunctionsFunctionSpecSecretEnvironmentVariables struct {
	// Name of the environment variable.
	Key *string `json:"key" tf:"key"`
	// Project identifier (due to a known limitation, only project number is supported by this field) of the project that contains the secret. If not set, it will be populated with the function's project, assuming that the secret exists in the same project as of the function.
	// +optional
	ProjectID *string `json:"projectID,omitempty" tf:"project_id"`
	// ID of the secret in secret manager (not the full resource name).
	Secret *string `json:"secret" tf:"secret"`
	// Version of the secret (version number or the string "latest"). It is recommended to use a numeric version for secret environment variables as any updates to the secret value is not reflected until new clones start.
	Version *string `json:"version" tf:"version"`
}

func (*CloudfunctionsFunctionSpecSecretEnvironmentVariables) DeepCopy added in v0.5.0

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

func (*CloudfunctionsFunctionSpecSecretEnvironmentVariables) DeepCopyInto added in v0.5.0

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

type CloudfunctionsFunctionSpecSecretVolumes added in v0.5.0

type CloudfunctionsFunctionSpecSecretVolumes struct {
	// The path within the container to mount the secret volume. For example, setting the mount_path as "/etc/secrets" would mount the secret value files under the "/etc/secrets" directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount paths: "/etc/secrets" Restricted mount paths: "/cloudsql", "/dev/log", "/pod", "/proc", "/var/log".
	MountPath *string `json:"mountPath" tf:"mount_path"`
	// Project identifier (due to a known limitation, only project number is supported by this field) of the project that contains the secret. If not set, it will be populated with the function's project, assuming that the secret exists in the same project as of the function.
	// +optional
	ProjectID *string `json:"projectID,omitempty" tf:"project_id"`
	// ID of the secret in secret manager (not the full resource name).
	Secret *string `json:"secret" tf:"secret"`
	// List of secret versions to mount for this secret. If empty, the "latest" version of the secret will be made available in a file named after the secret under the mount point.
	// +optional
	Versions []CloudfunctionsFunctionSpecSecretVolumesVersions `json:"versions,omitempty" tf:"versions"`
}

func (*CloudfunctionsFunctionSpecSecretVolumes) DeepCopy added in v0.5.0

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

func (*CloudfunctionsFunctionSpecSecretVolumes) DeepCopyInto added in v0.5.0

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

type CloudfunctionsFunctionSpecSecretVolumesVersions added in v0.5.0

type CloudfunctionsFunctionSpecSecretVolumesVersions struct {
	// Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as "/etc/secrets" and path as "/secret_foo" would mount the secret value file at "/etc/secrets/secret_foo".
	Path *string `json:"path" tf:"path"`
	// Version of the secret (version number or the string "latest"). It is preferable to use "latest" version with secret volumes as secret value changes are reflected immediately.
	Version *string `json:"version" tf:"version"`
}

func (*CloudfunctionsFunctionSpecSecretVolumesVersions) DeepCopy added in v0.5.0

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

func (*CloudfunctionsFunctionSpecSecretVolumesVersions) DeepCopyInto added in v0.5.0

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

type CloudfunctionsFunctionSpecSourceRepository

type CloudfunctionsFunctionSpecSourceRepository struct {
	// The URL pointing to the hosted repository where the function was defined at the time of deployment.
	// +optional
	DeployedURL *string `json:"deployedURL,omitempty" tf:"deployed_url"`
	// The URL pointing to the hosted repository where the function is defined.
	Url *string `json:"url" tf:"url"`
}

func (*CloudfunctionsFunctionSpecSourceRepository) DeepCopy

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

func (*CloudfunctionsFunctionSpecSourceRepository) DeepCopyInto

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

type CloudfunctionsFunctionSpecSourceRepositoryCodec

type CloudfunctionsFunctionSpecSourceRepositoryCodec struct {
}

+k8s:deepcopy-gen=false

func (CloudfunctionsFunctionSpecSourceRepositoryCodec) Decode

func (CloudfunctionsFunctionSpecSourceRepositoryCodec) Encode

func (CloudfunctionsFunctionSpecSourceRepositoryCodec) IsEmpty

type CloudfunctionsFunctionStatus

type CloudfunctionsFunctionStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*CloudfunctionsFunctionStatus) DeepCopy

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

func (*CloudfunctionsFunctionStatus) DeepCopyInto

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

type IamBinding

type IamBinding struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IamBindingSpec   `json:"spec,omitempty"`
	Status            IamBindingStatus `json:"status,omitempty"`
}

func (*IamBinding) DeepCopy

func (in *IamBinding) DeepCopy() *IamBinding

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

func (*IamBinding) DeepCopyInto

func (in *IamBinding) DeepCopyInto(out *IamBinding)

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

func (*IamBinding) DeepCopyObject

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

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

func (*IamBinding) SetupWebhookWithManager

func (r *IamBinding) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*IamBinding) ValidateCreate

func (r *IamBinding) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*IamBinding) ValidateDelete

func (r *IamBinding) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*IamBinding) ValidateUpdate

func (r *IamBinding) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type IamBindingList

type IamBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of IamBinding CRD objects
	Items []IamBinding `json:"items,omitempty"`
}

IamBindingList is a list of IamBindings

func (*IamBindingList) DeepCopy

func (in *IamBindingList) DeepCopy() *IamBindingList

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

func (*IamBindingList) DeepCopyInto

func (in *IamBindingList) DeepCopyInto(out *IamBindingList)

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

func (*IamBindingList) DeepCopyObject

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

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

type IamBindingSpec

type IamBindingSpec struct {
	State *IamBindingSpecResource `json:"state,omitempty" tf:"-"`

	Resource IamBindingSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*IamBindingSpec) DeepCopy

func (in *IamBindingSpec) DeepCopy() *IamBindingSpec

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

func (*IamBindingSpec) DeepCopyInto

func (in *IamBindingSpec) DeepCopyInto(out *IamBindingSpec)

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

type IamBindingSpecCondition

type IamBindingSpecCondition struct {
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	Expression  *string `json:"expression" tf:"expression"`
	Title       *string `json:"title" tf:"title"`
}

func (*IamBindingSpecCondition) DeepCopy

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

func (*IamBindingSpecCondition) DeepCopyInto

func (in *IamBindingSpecCondition) DeepCopyInto(out *IamBindingSpecCondition)

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

type IamBindingSpecConditionCodec

type IamBindingSpecConditionCodec struct {
}

+k8s:deepcopy-gen=false

func (IamBindingSpecConditionCodec) Decode

func (IamBindingSpecConditionCodec) Encode

func (IamBindingSpecConditionCodec) IsEmpty

type IamBindingSpecResource

type IamBindingSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	CloudFunction *string `json:"cloudFunction" tf:"cloud_function"`
	// +optional
	Condition *IamBindingSpecCondition `json:"condition,omitempty" tf:"condition"`
	// +optional
	Etag    *string  `json:"etag,omitempty" tf:"etag"`
	Members []string `json:"members" tf:"members"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	Role   *string `json:"role" tf:"role"`
}

func (*IamBindingSpecResource) DeepCopy

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

func (*IamBindingSpecResource) DeepCopyInto

func (in *IamBindingSpecResource) DeepCopyInto(out *IamBindingSpecResource)

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

type IamBindingStatus

type IamBindingStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*IamBindingStatus) DeepCopy

func (in *IamBindingStatus) DeepCopy() *IamBindingStatus

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

func (*IamBindingStatus) DeepCopyInto

func (in *IamBindingStatus) DeepCopyInto(out *IamBindingStatus)

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

type IamMember

type IamMember struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IamMemberSpec   `json:"spec,omitempty"`
	Status            IamMemberStatus `json:"status,omitempty"`
}

func (*IamMember) DeepCopy

func (in *IamMember) DeepCopy() *IamMember

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

func (*IamMember) DeepCopyInto

func (in *IamMember) DeepCopyInto(out *IamMember)

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

func (*IamMember) DeepCopyObject

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

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

func (*IamMember) SetupWebhookWithManager

func (r *IamMember) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*IamMember) ValidateCreate

func (r *IamMember) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*IamMember) ValidateDelete

func (r *IamMember) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*IamMember) ValidateUpdate

func (r *IamMember) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type IamMemberList

type IamMemberList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of IamMember CRD objects
	Items []IamMember `json:"items,omitempty"`
}

IamMemberList is a list of IamMembers

func (*IamMemberList) DeepCopy

func (in *IamMemberList) DeepCopy() *IamMemberList

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

func (*IamMemberList) DeepCopyInto

func (in *IamMemberList) DeepCopyInto(out *IamMemberList)

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

func (*IamMemberList) DeepCopyObject

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

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

type IamMemberSpec

type IamMemberSpec struct {
	State *IamMemberSpecResource `json:"state,omitempty" tf:"-"`

	Resource IamMemberSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*IamMemberSpec) DeepCopy

func (in *IamMemberSpec) DeepCopy() *IamMemberSpec

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

func (*IamMemberSpec) DeepCopyInto

func (in *IamMemberSpec) DeepCopyInto(out *IamMemberSpec)

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

type IamMemberSpecCondition

type IamMemberSpecCondition struct {
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	Expression  *string `json:"expression" tf:"expression"`
	Title       *string `json:"title" tf:"title"`
}

func (*IamMemberSpecCondition) DeepCopy

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

func (*IamMemberSpecCondition) DeepCopyInto

func (in *IamMemberSpecCondition) DeepCopyInto(out *IamMemberSpecCondition)

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

type IamMemberSpecConditionCodec

type IamMemberSpecConditionCodec struct {
}

+k8s:deepcopy-gen=false

func (IamMemberSpecConditionCodec) Decode

func (IamMemberSpecConditionCodec) Encode

func (IamMemberSpecConditionCodec) IsEmpty

type IamMemberSpecResource

type IamMemberSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	CloudFunction *string `json:"cloudFunction" tf:"cloud_function"`
	// +optional
	Condition *IamMemberSpecCondition `json:"condition,omitempty" tf:"condition"`
	// +optional
	Etag   *string `json:"etag,omitempty" tf:"etag"`
	Member *string `json:"member" tf:"member"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	Role   *string `json:"role" tf:"role"`
}

func (*IamMemberSpecResource) DeepCopy

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

func (*IamMemberSpecResource) DeepCopyInto

func (in *IamMemberSpecResource) DeepCopyInto(out *IamMemberSpecResource)

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

type IamMemberStatus

type IamMemberStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*IamMemberStatus) DeepCopy

func (in *IamMemberStatus) DeepCopy() *IamMemberStatus

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

func (*IamMemberStatus) DeepCopyInto

func (in *IamMemberStatus) DeepCopyInto(out *IamMemberStatus)

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

type IamPolicy

type IamPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IamPolicySpec   `json:"spec,omitempty"`
	Status            IamPolicyStatus `json:"status,omitempty"`
}

func (*IamPolicy) DeepCopy

func (in *IamPolicy) DeepCopy() *IamPolicy

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

func (*IamPolicy) DeepCopyInto

func (in *IamPolicy) DeepCopyInto(out *IamPolicy)

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

func (*IamPolicy) DeepCopyObject

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

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

func (*IamPolicy) SetupWebhookWithManager

func (r *IamPolicy) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*IamPolicy) ValidateCreate

func (r *IamPolicy) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*IamPolicy) ValidateDelete

func (r *IamPolicy) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*IamPolicy) ValidateUpdate

func (r *IamPolicy) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type IamPolicyList

type IamPolicyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of IamPolicy CRD objects
	Items []IamPolicy `json:"items,omitempty"`
}

IamPolicyList is a list of IamPolicys

func (*IamPolicyList) DeepCopy

func (in *IamPolicyList) DeepCopy() *IamPolicyList

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

func (*IamPolicyList) DeepCopyInto

func (in *IamPolicyList) DeepCopyInto(out *IamPolicyList)

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

func (*IamPolicyList) DeepCopyObject

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

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

type IamPolicySpec

type IamPolicySpec struct {
	State *IamPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource IamPolicySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*IamPolicySpec) DeepCopy

func (in *IamPolicySpec) DeepCopy() *IamPolicySpec

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

func (*IamPolicySpec) DeepCopyInto

func (in *IamPolicySpec) DeepCopyInto(out *IamPolicySpec)

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

type IamPolicySpecResource

type IamPolicySpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	CloudFunction *string `json:"cloudFunction" tf:"cloud_function"`
	// +optional
	Etag       *string `json:"etag,omitempty" tf:"etag"`
	PolicyData *string `json:"policyData" tf:"policy_data"`
	// +optional
	Project *string `json:"project,omitempty" tf:"project"`
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
}

func (*IamPolicySpecResource) DeepCopy

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

func (*IamPolicySpecResource) DeepCopyInto

func (in *IamPolicySpecResource) DeepCopyInto(out *IamPolicySpecResource)

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

type IamPolicyStatus

type IamPolicyStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*IamPolicyStatus) DeepCopy

func (in *IamPolicyStatus) DeepCopy() *IamPolicyStatus

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

func (*IamPolicyStatus) DeepCopyInto

func (in *IamPolicyStatus) DeepCopyInto(out *IamPolicyStatus)

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