v1beta1

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=oslogin.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "oslogin.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	SSHPublicKey_Kind             = "SSHPublicKey"
	SSHPublicKey_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SSHPublicKey_Kind}.String()
	SSHPublicKey_KindAPIVersion   = SSHPublicKey_Kind + "." + CRDGroupVersion.String()
	SSHPublicKey_GroupVersionKind = CRDGroupVersion.WithKind(SSHPublicKey_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type SSHPublicKey

type SSHPublicKey struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.keySecretRef)",message="spec.forProvider.keySecretRef is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.user) || (has(self.initProvider) && has(self.initProvider.user))",message="spec.forProvider.user is a required parameter"
	Spec   SSHPublicKeySpec   `json:"spec"`
	Status SSHPublicKeyStatus `json:"status,omitempty"`
}

SSHPublicKey is the Schema for the SSHPublicKeys API. The SSH public key information associated with a Google account. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}

func (*SSHPublicKey) DeepCopy

func (in *SSHPublicKey) DeepCopy() *SSHPublicKey

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

func (*SSHPublicKey) DeepCopyInto

func (in *SSHPublicKey) DeepCopyInto(out *SSHPublicKey)

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

func (*SSHPublicKey) DeepCopyObject

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

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

func (*SSHPublicKey) GetCondition

func (mg *SSHPublicKey) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this SSHPublicKey.

func (*SSHPublicKey) GetConnectionDetailsMapping

func (tr *SSHPublicKey) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this SSHPublicKey

func (*SSHPublicKey) GetDeletionPolicy

func (mg *SSHPublicKey) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this SSHPublicKey.

func (*SSHPublicKey) GetID

func (tr *SSHPublicKey) GetID() string

GetID returns ID of underlying Terraform resource of this SSHPublicKey

func (*SSHPublicKey) GetInitParameters added in v0.35.0

func (tr *SSHPublicKey) GetInitParameters() (map[string]any, error)

GetInitParameters of this SSHPublicKey

func (*SSHPublicKey) GetManagementPolicies added in v0.35.0

func (mg *SSHPublicKey) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this SSHPublicKey.

func (*SSHPublicKey) GetMergedParameters added in v0.40.0

func (tr *SSHPublicKey) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this SSHPublicKey

func (*SSHPublicKey) GetObservation

func (tr *SSHPublicKey) GetObservation() (map[string]any, error)

GetObservation of this SSHPublicKey

func (*SSHPublicKey) GetParameters

func (tr *SSHPublicKey) GetParameters() (map[string]any, error)

GetParameters of this SSHPublicKey

func (*SSHPublicKey) GetProviderConfigReference

func (mg *SSHPublicKey) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this SSHPublicKey.

func (*SSHPublicKey) GetPublishConnectionDetailsTo

func (mg *SSHPublicKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this SSHPublicKey.

func (*SSHPublicKey) GetTerraformResourceType

func (mg *SSHPublicKey) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SSHPublicKey

func (*SSHPublicKey) GetTerraformSchemaVersion

func (tr *SSHPublicKey) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SSHPublicKey) GetWriteConnectionSecretToReference

func (mg *SSHPublicKey) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this SSHPublicKey.

func (*SSHPublicKey) Hub added in v0.41.2

func (tr *SSHPublicKey) Hub()

Hub marks this type as a conversion hub.

func (*SSHPublicKey) LateInitialize

func (tr *SSHPublicKey) LateInitialize(attrs []byte) (bool, error)

LateInitialize this SSHPublicKey using its observed tfState. returns True if there are any spec changes for the resource.

func (*SSHPublicKey) SetConditions

func (mg *SSHPublicKey) SetConditions(c ...xpv1.Condition)

SetConditions of this SSHPublicKey.

func (*SSHPublicKey) SetDeletionPolicy

func (mg *SSHPublicKey) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this SSHPublicKey.

func (*SSHPublicKey) SetManagementPolicies added in v0.35.0

func (mg *SSHPublicKey) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this SSHPublicKey.

func (*SSHPublicKey) SetObservation

func (tr *SSHPublicKey) SetObservation(obs map[string]any) error

SetObservation for this SSHPublicKey

func (*SSHPublicKey) SetParameters

func (tr *SSHPublicKey) SetParameters(params map[string]any) error

SetParameters for this SSHPublicKey

func (*SSHPublicKey) SetProviderConfigReference

func (mg *SSHPublicKey) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this SSHPublicKey.

func (*SSHPublicKey) SetPublishConnectionDetailsTo

func (mg *SSHPublicKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this SSHPublicKey.

func (*SSHPublicKey) SetWriteConnectionSecretToReference

func (mg *SSHPublicKey) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this SSHPublicKey.

type SSHPublicKeyInitParameters added in v0.35.0

type SSHPublicKeyInitParameters struct {

	// An expiration time in microseconds since epoch.
	ExpirationTimeUsec *string `json:"expirationTimeUsec,omitempty" tf:"expiration_time_usec,omitempty"`

	// Public key text in SSH format, defined by RFC4253 section 6.6.
	KeySecretRef v1.SecretKeySelector `json:"keySecretRef" tf:"-"`

	// The project ID of the Google Cloud Platform project.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The user email.
	User *string `json:"user,omitempty" tf:"user,omitempty"`
}

func (*SSHPublicKeyInitParameters) DeepCopy added in v0.35.0

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

func (*SSHPublicKeyInitParameters) DeepCopyInto added in v0.35.0

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

type SSHPublicKeyList

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

SSHPublicKeyList contains a list of SSHPublicKeys

func (*SSHPublicKeyList) DeepCopy

func (in *SSHPublicKeyList) DeepCopy() *SSHPublicKeyList

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

func (*SSHPublicKeyList) DeepCopyInto

func (in *SSHPublicKeyList) DeepCopyInto(out *SSHPublicKeyList)

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

func (*SSHPublicKeyList) DeepCopyObject

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

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

func (*SSHPublicKeyList) GetItems

func (l *SSHPublicKeyList) GetItems() []resource.Managed

GetItems of this SSHPublicKeyList.

type SSHPublicKeyObservation

type SSHPublicKeyObservation struct {

	// An expiration time in microseconds since epoch.
	ExpirationTimeUsec *string `json:"expirationTimeUsec,omitempty" tf:"expiration_time_usec,omitempty"`

	// The SHA-256 fingerprint of the SSH public key.
	Fingerprint *string `json:"fingerprint,omitempty" tf:"fingerprint,omitempty"`

	// an identifier for the resource with format users/{{user}}/sshPublicKeys/{{fingerprint}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The project ID of the Google Cloud Platform project.
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The user email.
	User *string `json:"user,omitempty" tf:"user,omitempty"`
}

func (*SSHPublicKeyObservation) DeepCopy

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

func (*SSHPublicKeyObservation) DeepCopyInto

func (in *SSHPublicKeyObservation) DeepCopyInto(out *SSHPublicKeyObservation)

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

type SSHPublicKeyParameters

type SSHPublicKeyParameters struct {

	// An expiration time in microseconds since epoch.
	// +kubebuilder:validation:Optional
	ExpirationTimeUsec *string `json:"expirationTimeUsec,omitempty" tf:"expiration_time_usec,omitempty"`

	// Public key text in SSH format, defined by RFC4253 section 6.6.
	// +kubebuilder:validation:Optional
	KeySecretRef v1.SecretKeySelector `json:"keySecretRef" tf:"-"`

	// The project ID of the Google Cloud Platform project.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The user email.
	// +kubebuilder:validation:Optional
	User *string `json:"user,omitempty" tf:"user,omitempty"`
}

func (*SSHPublicKeyParameters) DeepCopy

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

func (*SSHPublicKeyParameters) DeepCopyInto

func (in *SSHPublicKeyParameters) DeepCopyInto(out *SSHPublicKeyParameters)

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

type SSHPublicKeySpec

type SSHPublicKeySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SSHPublicKeyParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SSHPublicKeyInitParameters `json:"initProvider,omitempty"`
}

SSHPublicKeySpec defines the desired state of SSHPublicKey

func (*SSHPublicKeySpec) DeepCopy

func (in *SSHPublicKeySpec) DeepCopy() *SSHPublicKeySpec

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

func (*SSHPublicKeySpec) DeepCopyInto

func (in *SSHPublicKeySpec) DeepCopyInto(out *SSHPublicKeySpec)

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

type SSHPublicKeyStatus

type SSHPublicKeyStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SSHPublicKeyObservation `json:"atProvider,omitempty"`
}

SSHPublicKeyStatus defines the observed state of SSHPublicKey.

func (*SSHPublicKeyStatus) DeepCopy

func (in *SSHPublicKeyStatus) DeepCopy() *SSHPublicKeyStatus

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

func (*SSHPublicKeyStatus) DeepCopyInto

func (in *SSHPublicKeyStatus) DeepCopyInto(out *SSHPublicKeyStatus)

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