Documentation ¶
Overview ¶
+groupName=bastion.oci.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Bastion
- func (in *Bastion) DeepCopy() *Bastion
- func (in *Bastion) DeepCopyInto(out *Bastion)
- func (in *Bastion) DeepCopyObject() runtime.Object
- func (r *Bastion) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Bastion) ValidateCreate() error
- func (r *Bastion) ValidateDelete() error
- func (r *Bastion) ValidateUpdate(old runtime.Object) error
- type BastionList
- type BastionSpec
- type BastionSpecResource
- type BastionStatus
- type Session
- func (in *Session) DeepCopy() *Session
- func (in *Session) DeepCopyInto(out *Session)
- func (in *Session) DeepCopyObject() runtime.Object
- func (r *Session) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Session) ValidateCreate() error
- func (r *Session) ValidateDelete() error
- func (r *Session) ValidateUpdate(old runtime.Object) error
- type SessionList
- type SessionSpec
- type SessionSpecKeyDetails
- type SessionSpecKeyDetailsCodec
- type SessionSpecResource
- type SessionSpecTargetResourceDetails
- type SessionSpecTargetResourceDetailsCodec
- type SessionStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bastion.
func (*Bastion) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bastion) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Bastion) SetupWebhookWithManager ¶
func (*Bastion) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Bastion) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Session.
func (*Session) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Session) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Session) SetupWebhookWithManager ¶
func (*Session) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Session) ValidateDelete ¶
ValidateDelete 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 ¶
func (in *SessionSpecKeyDetails) DeepCopy() *SessionSpecKeyDetails
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *SessionSpecTargetResourceDetails) DeepCopy() *SessionSpecTargetResourceDetails
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SessionSpecTargetResourceDetails.
func (*SessionSpecTargetResourceDetails) DeepCopyInto ¶
func (in *SessionSpecTargetResourceDetails) DeepCopyInto(out *SessionSpecTargetResourceDetails)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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.