Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=accessprofile.taikun.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type AllowedHostObservation
- type AllowedHostParameters
- type DNSServerObservation
- type DNSServerParameters
- type NtpServerObservation
- type NtpServerParameters
- type Profile
- func (in *Profile) DeepCopy() *Profile
- func (in *Profile) DeepCopyInto(out *Profile)
- func (in *Profile) DeepCopyObject() runtime.Object
- func (mg *Profile) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Profile) GetConnectionDetailsMapping() map[string]string
- func (mg *Profile) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Profile) GetID() string
- func (tr *Profile) GetObservation() (map[string]interface{}, error)
- func (tr *Profile) GetParameters() (map[string]interface{}, error)
- func (mg *Profile) GetProviderConfigReference() *xpv1.Reference
- func (mg *Profile) GetProviderReference() *xpv1.Reference
- func (mg *Profile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Profile) GetTerraformResourceType() string
- func (tr *Profile) GetTerraformSchemaVersion() int
- func (mg *Profile) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Profile) LateInitialize(attrs []byte) (bool, error)
- func (mg *Profile) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Profile) SetConditions(c ...xpv1.Condition)
- func (mg *Profile) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Profile) SetObservation(obs map[string]interface{}) error
- func (tr *Profile) SetParameters(params map[string]interface{}) error
- func (mg *Profile) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Profile) SetProviderReference(r *xpv1.Reference)
- func (mg *Profile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Profile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ProfileList
- type ProfileObservation
- type ProfileParameters
- type ProfileSpec
- type ProfileStatus
- type SSHUserObservation
- type SSHUserParameters
Constants ¶
const ( CRDGroup = "accessprofile.taikun.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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 )
var ( Profile_Kind = "Profile" Profile_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Profile_Kind}.String() Profile_KindAPIVersion = Profile_Kind + "." + CRDGroupVersion.String() Profile_GroupVersionKind = CRDGroupVersion.WithKind(Profile_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type AllowedHostObservation ¶
type AllowedHostObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*AllowedHostObservation) DeepCopy ¶
func (in *AllowedHostObservation) DeepCopy() *AllowedHostObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostObservation.
func (*AllowedHostObservation) DeepCopyInto ¶
func (in *AllowedHostObservation) DeepCopyInto(out *AllowedHostObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AllowedHostParameters ¶
type AllowedHostParameters struct { // IPv4 address of the host // +kubebuilder:validation:Required Address *string `json:"address" tf:"address,omitempty"` // Description of the host. // +kubebuilder:validation:Required Description *string `json:"description" tf:"description,omitempty"` // Number of bits in the network mask. // +kubebuilder:validation:Required MaskBits *float64 `json:"maskBits" tf:"mask_bits,omitempty"` }
func (*AllowedHostParameters) DeepCopy ¶
func (in *AllowedHostParameters) DeepCopy() *AllowedHostParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedHostParameters.
func (*AllowedHostParameters) DeepCopyInto ¶
func (in *AllowedHostParameters) DeepCopyInto(out *AllowedHostParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSServerObservation ¶
type DNSServerObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*DNSServerObservation) DeepCopy ¶
func (in *DNSServerObservation) DeepCopy() *DNSServerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSServerObservation.
func (*DNSServerObservation) DeepCopyInto ¶
func (in *DNSServerObservation) DeepCopyInto(out *DNSServerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DNSServerParameters ¶
type DNSServerParameters struct { // Address of the DNS server. // +kubebuilder:validation:Required Address *string `json:"address" tf:"address,omitempty"` }
func (*DNSServerParameters) DeepCopy ¶
func (in *DNSServerParameters) DeepCopy() *DNSServerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DNSServerParameters.
func (*DNSServerParameters) DeepCopyInto ¶
func (in *DNSServerParameters) DeepCopyInto(out *DNSServerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NtpServerObservation ¶
type NtpServerObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*NtpServerObservation) DeepCopy ¶
func (in *NtpServerObservation) DeepCopy() *NtpServerObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NtpServerObservation.
func (*NtpServerObservation) DeepCopyInto ¶
func (in *NtpServerObservation) DeepCopyInto(out *NtpServerObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NtpServerParameters ¶
type NtpServerParameters struct { // Address of the NTP server. // +kubebuilder:validation:Required Address *string `json:"address" tf:"address,omitempty"` }
func (*NtpServerParameters) DeepCopy ¶
func (in *NtpServerParameters) DeepCopy() *NtpServerParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NtpServerParameters.
func (*NtpServerParameters) DeepCopyInto ¶
func (in *NtpServerParameters) DeepCopyInto(out *NtpServerParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Profile ¶
type Profile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProfileSpec `json:"spec"` Status ProfileStatus `json:"status,omitempty"` }
Profile is the Schema for the Profiles API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,taikunjet}
func (*Profile) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile.
func (*Profile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Profile) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Profile) GetCondition ¶
func (mg *Profile) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Profile.
func (*Profile) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Profile
func (*Profile) GetDeletionPolicy ¶
func (mg *Profile) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Profile.
func (*Profile) GetObservation ¶
GetObservation of this Profile
func (*Profile) GetParameters ¶
GetParameters of this Profile
func (*Profile) GetProviderConfigReference ¶
GetProviderConfigReference of this Profile.
func (*Profile) GetProviderReference ¶
GetProviderReference of this Profile. Deprecated: Use GetProviderConfigReference.
func (*Profile) GetPublishConnectionDetailsTo ¶
func (mg *Profile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Profile.
func (*Profile) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Profile
func (*Profile) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Profile) GetWriteConnectionSecretToReference ¶
func (mg *Profile) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Profile.
func (*Profile) LateInitialize ¶
LateInitialize this Profile using its observed tfState. returns True if there are any spec changes for the resource.
func (*Profile) ResolveReferences ¶
ResolveReferences of this Profile.
func (*Profile) SetConditions ¶
SetConditions of this Profile.
func (*Profile) SetDeletionPolicy ¶
func (mg *Profile) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Profile.
func (*Profile) SetObservation ¶
SetObservation for this Profile
func (*Profile) SetParameters ¶
SetParameters for this Profile
func (*Profile) SetProviderConfigReference ¶
SetProviderConfigReference of this Profile.
func (*Profile) SetProviderReference ¶
SetProviderReference of this Profile. Deprecated: Use SetProviderConfigReference.
func (*Profile) SetPublishConnectionDetailsTo ¶
func (mg *Profile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Profile.
func (*Profile) SetWriteConnectionSecretToReference ¶
func (mg *Profile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Profile.
type ProfileList ¶
type ProfileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Profile `json:"items"` }
ProfileList contains a list of Profiles
func (*ProfileList) DeepCopy ¶
func (in *ProfileList) DeepCopy() *ProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileList.
func (*ProfileList) DeepCopyInto ¶
func (in *ProfileList) DeepCopyInto(out *ProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProfileList) DeepCopyObject ¶
func (in *ProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProfileList) GetItems ¶
func (l *ProfileList) GetItems() []resource.Managed
GetItems of this ProfileList.
type ProfileObservation ¶
type ProfileObservation struct { AllowedHost []AllowedHostObservation `json:"allowedHost,omitempty" tf:"allowed_host,omitempty"` CreatedBy *string `json:"createdBy,omitempty" tf:"created_by,omitempty"` DNSServer []DNSServerObservation `json:"dnsServer,omitempty" tf:"dns_server,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty" tf:"last_modified_by,omitempty"` NtpServer []NtpServerObservation `json:"ntpServer,omitempty" tf:"ntp_server,omitempty"` OrganizationName *string `json:"organizationName,omitempty" tf:"organization_name,omitempty"` SSHUser []SSHUserObservation `json:"sshUser,omitempty" tf:"ssh_user,omitempty"` }
func (*ProfileObservation) DeepCopy ¶
func (in *ProfileObservation) DeepCopy() *ProfileObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileObservation.
func (*ProfileObservation) DeepCopyInto ¶
func (in *ProfileObservation) DeepCopyInto(out *ProfileObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileParameters ¶
type ProfileParameters struct { // List of allowed hosts. // +kubebuilder:validation:Optional AllowedHost []AllowedHostParameters `json:"allowedHost,omitempty" tf:"allowed_host,omitempty"` // List of DNS servers. // +kubebuilder:validation:Optional DNSServer []DNSServerParameters `json:"dnsServer,omitempty" tf:"dns_server,omitempty"` // HTTP proxy of the access profile. // +kubebuilder:validation:Optional HTTPProxy *string `json:"httpProxy,omitempty" tf:"http_proxy,omitempty"` // Indicates whether to lock the access profile. Defaults to `false`. // +kubebuilder:validation:Optional Lock *bool `json:"lock,omitempty" tf:"lock,omitempty"` // The name of the access profile. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // List of NTP servers. // +kubebuilder:validation:Optional NtpServer []NtpServerParameters `json:"ntpServer,omitempty" tf:"ntp_server,omitempty"` // The ID of the organization which owns the access profile. // +crossplane:generate:reference:type=github.com/nivraph/provider-jet-taikun/apis/organization/v1alpha1.Organization // +kubebuilder:validation:Optional OrganizationID *string `json:"organizationId,omitempty" tf:"organization_id,omitempty"` // +kubebuilder:validation:Optional OrganizationIDRef *v1.Reference `json:"organizationIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional OrganizationIDSelector *v1.Selector `json:"organizationIdSelector,omitempty" tf:"-"` // List of SSH users. // +kubebuilder:validation:Optional SSHUser []SSHUserParameters `json:"sshUser,omitempty" tf:"ssh_user,omitempty"` }
func (*ProfileParameters) DeepCopy ¶
func (in *ProfileParameters) DeepCopy() *ProfileParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileParameters.
func (*ProfileParameters) DeepCopyInto ¶
func (in *ProfileParameters) DeepCopyInto(out *ProfileParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileSpec ¶
type ProfileSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ProfileParameters `json:"forProvider"` }
ProfileSpec defines the desired state of Profile
func (*ProfileSpec) DeepCopy ¶
func (in *ProfileSpec) DeepCopy() *ProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpec.
func (*ProfileSpec) DeepCopyInto ¶
func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileStatus ¶
type ProfileStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ProfileObservation `json:"atProvider,omitempty"` }
ProfileStatus defines the observed state of Profile.
func (*ProfileStatus) DeepCopy ¶
func (in *ProfileStatus) DeepCopy() *ProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileStatus.
func (*ProfileStatus) DeepCopyInto ¶
func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSHUserObservation ¶
type SSHUserObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*SSHUserObservation) DeepCopy ¶
func (in *SSHUserObservation) DeepCopy() *SSHUserObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHUserObservation.
func (*SSHUserObservation) DeepCopyInto ¶
func (in *SSHUserObservation) DeepCopyInto(out *SSHUserObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSHUserParameters ¶
type SSHUserParameters struct { // Name of the SSH user. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // Public key of the SSH user. // +kubebuilder:validation:Required PublicKey *string `json:"publicKey" tf:"public_key,omitempty"` }
func (*SSHUserParameters) DeepCopy ¶
func (in *SSHUserParameters) DeepCopy() *SSHUserParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSHUserParameters.
func (*SSHUserParameters) DeepCopyInto ¶
func (in *SSHUserParameters) DeepCopyInto(out *SSHUserParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.