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=bastion.oci.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: bastion.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 Bastion

type Bastion struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BastionSpec   `json:"spec,omitempty"`
	Status            BastionStatus `json:"status,omitempty"`
}

func (*Bastion) DeepCopy

func (in *Bastion) DeepCopy() *Bastion

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

func (*Bastion) DeepCopyInto

func (in *Bastion) DeepCopyInto(out *Bastion)

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

func (*Bastion) DeepCopyObject

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

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

func (*Bastion) SetupWebhookWithManager

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

func (*Bastion) ValidateCreate

func (r *Bastion) ValidateCreate() error

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

func (*Bastion) ValidateDelete

func (r *Bastion) ValidateDelete() error

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

func (*Bastion) ValidateUpdate

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

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

type BastionList

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

BastionList is a list of Bastions

func (*BastionList) DeepCopy

func (in *BastionList) DeepCopy() *BastionList

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

func (*BastionList) DeepCopyInto

func (in *BastionList) DeepCopyInto(out *BastionList)

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

func (*BastionList) DeepCopyObject

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

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

type BastionSpec

type BastionSpec struct {
	State *BastionSpecResource `json:"state,omitempty" tf:"-"`

	Resource BastionSpecResource `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 (*BastionSpec) DeepCopy

func (in *BastionSpec) DeepCopy() *BastionSpec

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

func (*BastionSpec) DeepCopyInto

func (in *BastionSpec) DeepCopyInto(out *BastionSpec)

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

type BastionSpecResource

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

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

	BastionType *string `json:"bastionType" tf:"bastion_type"`
	// +optional
	ClientCIDRBlockAllowList []string `json:"clientCIDRBlockAllowList,omitempty" tf:"client_cidr_block_allow_list"`
	CompartmentID            *string  `json:"compartmentID" tf:"compartment_id"`
	// +optional
	DefinedTags map[string]string `json:"definedTags,omitempty" tf:"defined_tags"`
	// +optional
	FreeformTags map[string]string `json:"freeformTags,omitempty" tf:"freeform_tags"`
	// +optional
	LifecycleDetails *string `json:"lifecycleDetails,omitempty" tf:"lifecycle_details"`
	// +optional
	MaxSessionTtlInSeconds *int64 `json:"maxSessionTtlInSeconds,omitempty" tf:"max_session_ttl_in_seconds"`
	// +optional
	MaxSessionsAllowed *int64 `json:"maxSessionsAllowed,omitempty" tf:"max_sessions_allowed"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	PhoneBookEntry *string `json:"phoneBookEntry,omitempty" tf:"phone_book_entry"`
	// +optional
	PrivateEndpointIPAddress *string `json:"privateEndpointIPAddress,omitempty" tf:"private_endpoint_ip_address"`
	// +optional
	State *string `json:"state,omitempty" tf:"state"`
	// +optional
	StaticJumpHostIPAddresses []string `json:"staticJumpHostIPAddresses,omitempty" tf:"static_jump_host_ip_addresses"`
	// +optional
	SystemTags     map[string]string `json:"systemTags,omitempty" tf:"system_tags"`
	TargetSubnetID *string           `json:"targetSubnetID" tf:"target_subnet_id"`
	// +optional
	TargetVcnID *string `json:"targetVcnID,omitempty" tf:"target_vcn_id"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
}

func (*BastionSpecResource) DeepCopy

func (in *BastionSpecResource) DeepCopy() *BastionSpecResource

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

func (*BastionSpecResource) DeepCopyInto

func (in *BastionSpecResource) DeepCopyInto(out *BastionSpecResource)

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

type BastionStatus

type BastionStatus 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 (*BastionStatus) DeepCopy

func (in *BastionStatus) DeepCopy() *BastionStatus

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

func (*BastionStatus) DeepCopyInto

func (in *BastionStatus) DeepCopyInto(out *BastionStatus)

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

type Session

type Session struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SessionSpec   `json:"spec,omitempty"`
	Status            SessionStatus `json:"status,omitempty"`
}

func (*Session) DeepCopy

func (in *Session) DeepCopy() *Session

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

func (*Session) DeepCopyInto

func (in *Session) DeepCopyInto(out *Session)

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

func (*Session) DeepCopyObject

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

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

func (*Session) SetupWebhookWithManager

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

func (*Session) ValidateCreate

func (r *Session) ValidateCreate() error

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

func (*Session) ValidateDelete

func (r *Session) ValidateDelete() error

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

func (*Session) ValidateUpdate

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

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

type SessionList

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

SessionList is a list of Sessions

func (*SessionList) DeepCopy

func (in *SessionList) DeepCopy() *SessionList

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

func (*SessionList) DeepCopyInto

func (in *SessionList) DeepCopyInto(out *SessionList)

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

func (*SessionList) DeepCopyObject

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

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

type SessionSpec

type SessionSpec struct {
	State *SessionSpecResource `json:"state,omitempty" tf:"-"`

	Resource SessionSpecResource `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 (*SessionSpec) DeepCopy

func (in *SessionSpec) DeepCopy() *SessionSpec

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

func (*SessionSpec) DeepCopyInto

func (in *SessionSpec) DeepCopyInto(out *SessionSpec)

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

type SessionSpecKeyDetails

type SessionSpecKeyDetails struct {
	PublicKeyContent *string `json:"publicKeyContent" tf:"public_key_content"`
}

func (*SessionSpecKeyDetails) DeepCopy

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

func (*SessionSpecKeyDetails) DeepCopyInto

func (in *SessionSpecKeyDetails) DeepCopyInto(out *SessionSpecKeyDetails)

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

type SessionSpecKeyDetailsCodec

type SessionSpecKeyDetailsCodec struct {
}

+k8s:deepcopy-gen=false

func (SessionSpecKeyDetailsCodec) Decode

func (SessionSpecKeyDetailsCodec) Encode

func (SessionSpecKeyDetailsCodec) IsEmpty

type SessionSpecResource

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

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

	BastionID *string `json:"bastionID" tf:"bastion_id"`
	// +optional
	BastionName *string `json:"bastionName,omitempty" tf:"bastion_name"`
	// +optional
	BastionPublicHostKeyInfo *string `json:"bastionPublicHostKeyInfo,omitempty" tf:"bastion_public_host_key_info"`
	// +optional
	BastionUserName *string `json:"bastionUserName,omitempty" tf:"bastion_user_name"`
	// +optional
	DisplayName *string                `json:"displayName,omitempty" tf:"display_name"`
	KeyDetails  *SessionSpecKeyDetails `json:"keyDetails" tf:"key_details"`
	// +optional
	KeyType *string `json:"keyType,omitempty" tf:"key_type"`
	// +optional
	LifecycleDetails *string `json:"lifecycleDetails,omitempty" tf:"lifecycle_details"`
	// +optional
	SessionTtlInSeconds *int64 `json:"sessionTtlInSeconds,omitempty" tf:"session_ttl_in_seconds"`
	// +optional
	SshMetadata map[string]string `json:"sshMetadata,omitempty" tf:"ssh_metadata"`
	// +optional
	State                 *string                           `json:"state,omitempty" tf:"state"`
	TargetResourceDetails *SessionSpecTargetResourceDetails `json:"targetResourceDetails" tf:"target_resource_details"`
	// +optional
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created"`
	// +optional
	TimeUpdated *string `json:"timeUpdated,omitempty" tf:"time_updated"`
}

func (*SessionSpecResource) DeepCopy

func (in *SessionSpecResource) DeepCopy() *SessionSpecResource

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

func (*SessionSpecResource) DeepCopyInto

func (in *SessionSpecResource) DeepCopyInto(out *SessionSpecResource)

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

type SessionSpecTargetResourceDetails

type SessionSpecTargetResourceDetails struct {
	SessionType *string `json:"sessionType" tf:"session_type"`
	// +optional
	TargetResourceDisplayName *string `json:"targetResourceDisplayName,omitempty" tf:"target_resource_display_name"`
	// +optional
	TargetResourceID *string `json:"targetResourceID,omitempty" tf:"target_resource_id"`
	// +optional
	TargetResourceOperatingSystemUserName *string `json:"targetResourceOperatingSystemUserName,omitempty" tf:"target_resource_operating_system_user_name"`
	// +optional
	TargetResourcePort *int64 `json:"targetResourcePort,omitempty" tf:"target_resource_port"`
	// +optional
	TargetResourcePrivateIPAddress *string `json:"targetResourcePrivateIPAddress,omitempty" tf:"target_resource_private_ip_address"`
}

func (*SessionSpecTargetResourceDetails) DeepCopy

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

func (*SessionSpecTargetResourceDetails) DeepCopyInto

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

type SessionSpecTargetResourceDetailsCodec

type SessionSpecTargetResourceDetailsCodec struct {
}

+k8s:deepcopy-gen=false

func (SessionSpecTargetResourceDetailsCodec) Decode

func (SessionSpecTargetResourceDetailsCodec) Encode

func (SessionSpecTargetResourceDetailsCodec) IsEmpty

type SessionStatus

type SessionStatus 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 (*SessionStatus) DeepCopy

func (in *SessionStatus) DeepCopy() *SessionStatus

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

func (*SessionStatus) DeepCopyInto

func (in *SessionStatus) DeepCopyInto(out *SessionStatus)

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