Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=securitygrouprule.exoscale.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type SecurityGroupRule
- func (in *SecurityGroupRule) DeepCopy() *SecurityGroupRule
- func (in *SecurityGroupRule) DeepCopyInto(out *SecurityGroupRule)
- func (in *SecurityGroupRule) DeepCopyObject() runtime.Object
- func (mg *SecurityGroupRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SecurityGroupRule) GetConnectionDetailsMapping() map[string]string
- func (mg *SecurityGroupRule) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SecurityGroupRule) GetObservation() (map[string]interface{}, error)
- func (tr *SecurityGroupRule) GetParameters() (map[string]interface{}, error)
- func (mg *SecurityGroupRule) GetProviderConfigReference() *xpv1.Reference
- func (mg *SecurityGroupRule) GetProviderReference() *xpv1.Reference
- func (mg *SecurityGroupRule) GetTerraformResourceType() string
- func (tr *SecurityGroupRule) GetTerraformSchemaVersion() int
- func (mg *SecurityGroupRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SecurityGroupRule) LateInitialize(attrs []byte) (bool, error)
- func (mg *SecurityGroupRule) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *SecurityGroupRule) SetConditions(c ...xpv1.Condition)
- func (mg *SecurityGroupRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *SecurityGroupRule) SetObservation(obs map[string]interface{}) error
- func (tr *SecurityGroupRule) SetParameters(params map[string]interface{}) error
- func (mg *SecurityGroupRule) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SecurityGroupRule) SetProviderReference(r *xpv1.Reference)
- func (mg *SecurityGroupRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SecurityGroupRuleList
- type SecurityGroupRuleObservation
- type SecurityGroupRuleParameters
- type SecurityGroupRuleSpec
- type SecurityGroupRuleStatus
Constants ¶
const ( CRDGroup = "securitygrouprule.exoscale.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 ( SecurityGroupRule_Kind = "SecurityGroupRule" SecurityGroupRule_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroupRule_Kind}.String() SecurityGroupRule_KindAPIVersion = SecurityGroupRule_Kind + "." + CRDGroupVersion.String() SecurityGroupRule_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroupRule_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type SecurityGroupRule ¶
type SecurityGroupRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecurityGroupRuleSpec `json:"spec"` Status SecurityGroupRuleStatus `json:"status,omitempty"` }
SecurityGroupRule is the Schema for the SecurityGroupRules 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,exoscalejet}
func (*SecurityGroupRule) DeepCopy ¶
func (in *SecurityGroupRule) DeepCopy() *SecurityGroupRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRule.
func (*SecurityGroupRule) DeepCopyInto ¶
func (in *SecurityGroupRule) DeepCopyInto(out *SecurityGroupRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityGroupRule) DeepCopyObject ¶
func (in *SecurityGroupRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecurityGroupRule) GetCondition ¶
func (mg *SecurityGroupRule) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SecurityGroupRule.
func (*SecurityGroupRule) GetConnectionDetailsMapping ¶
func (tr *SecurityGroupRule) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SecurityGroupRule
func (*SecurityGroupRule) GetDeletionPolicy ¶
func (mg *SecurityGroupRule) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SecurityGroupRule.
func (*SecurityGroupRule) GetObservation ¶
func (tr *SecurityGroupRule) GetObservation() (map[string]interface{}, error)
GetObservation of this SecurityGroupRule
func (*SecurityGroupRule) GetParameters ¶
func (tr *SecurityGroupRule) GetParameters() (map[string]interface{}, error)
GetParameters of this SecurityGroupRule
func (*SecurityGroupRule) GetProviderConfigReference ¶
func (mg *SecurityGroupRule) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SecurityGroupRule.
func (*SecurityGroupRule) GetProviderReference ¶
func (mg *SecurityGroupRule) GetProviderReference() *xpv1.Reference
GetProviderReference of this SecurityGroupRule. Deprecated: Use GetProviderConfigReference.
func (*SecurityGroupRule) GetTerraformResourceType ¶
func (mg *SecurityGroupRule) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SecurityGroupRule
func (*SecurityGroupRule) GetTerraformSchemaVersion ¶
func (tr *SecurityGroupRule) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SecurityGroupRule) GetWriteConnectionSecretToReference ¶
func (mg *SecurityGroupRule) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SecurityGroupRule.
func (*SecurityGroupRule) LateInitialize ¶
func (tr *SecurityGroupRule) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SecurityGroupRule using its observed tfState. returns True if there are any spec changes for the resource.
func (*SecurityGroupRule) ResolveReferences ¶
ResolveReferences of this SecurityGroupRule.
func (*SecurityGroupRule) SetConditions ¶
func (mg *SecurityGroupRule) SetConditions(c ...xpv1.Condition)
SetConditions of this SecurityGroupRule.
func (*SecurityGroupRule) SetDeletionPolicy ¶
func (mg *SecurityGroupRule) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SecurityGroupRule.
func (*SecurityGroupRule) SetObservation ¶
func (tr *SecurityGroupRule) SetObservation(obs map[string]interface{}) error
SetObservation for this SecurityGroupRule
func (*SecurityGroupRule) SetParameters ¶
func (tr *SecurityGroupRule) SetParameters(params map[string]interface{}) error
SetParameters for this SecurityGroupRule
func (*SecurityGroupRule) SetProviderConfigReference ¶
func (mg *SecurityGroupRule) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SecurityGroupRule.
func (*SecurityGroupRule) SetProviderReference ¶
func (mg *SecurityGroupRule) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this SecurityGroupRule. Deprecated: Use SetProviderConfigReference.
func (*SecurityGroupRule) SetWriteConnectionSecretToReference ¶
func (mg *SecurityGroupRule) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SecurityGroupRule.
type SecurityGroupRuleList ¶
type SecurityGroupRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecurityGroupRule `json:"items"` }
SecurityGroupRuleList contains a list of SecurityGroupRules
func (*SecurityGroupRuleList) DeepCopy ¶
func (in *SecurityGroupRuleList) DeepCopy() *SecurityGroupRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleList.
func (*SecurityGroupRuleList) DeepCopyInto ¶
func (in *SecurityGroupRuleList) DeepCopyInto(out *SecurityGroupRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecurityGroupRuleList) DeepCopyObject ¶
func (in *SecurityGroupRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecurityGroupRuleList) GetItems ¶
func (l *SecurityGroupRuleList) GetItems() []resource.Managed
GetItems of this SecurityGroupRuleList.
type SecurityGroupRuleObservation ¶
type SecurityGroupRuleObservation struct { }
func (*SecurityGroupRuleObservation) DeepCopy ¶
func (in *SecurityGroupRuleObservation) DeepCopy() *SecurityGroupRuleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleObservation.
func (*SecurityGroupRuleObservation) DeepCopyInto ¶
func (in *SecurityGroupRuleObservation) DeepCopyInto(out *SecurityGroupRuleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleParameters ¶
type SecurityGroupRuleParameters struct { // +kubebuilder:validation:Optional Cidr *string `json:"cidr,omitempty" tf:"cidr,omitempty"` // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // +kubebuilder:validation:Optional EndPort *int64 `json:"endPort,omitempty" tf:"end_port,omitempty"` // +kubebuilder:validation:Optional IcmpCode *int64 `json:"icmpCode,omitempty" tf:"icmp_code,omitempty"` // +kubebuilder:validation:Optional IcmpType *int64 `json:"icmpType,omitempty" tf:"icmp_type,omitempty"` // +kubebuilder:validation:Optional Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` // +kubebuilder:validation:Optional SecurityGroup *string `json:"securityGroup,omitempty" tf:"security_group,omitempty"` // +crossplane:generate:reference:type=github.com/lucj/provider-jet-exoscale/apis/securitygroup/v1alpha1.SecurityGroup // +crossplane:generate:reference:refFieldName=SecurityGroupIdRef // +crossplane:generate:reference:selectorFieldName=SecurityGroupIdSelector // +kubebuilder:validation:Optional SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"` // +kubebuilder:validation:Optional SecurityGroupIdRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional SecurityGroupIdSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"` // +kubebuilder:validation:Optional StartPort *int64 `json:"startPort,omitempty" tf:"start_port,omitempty"` // +kubebuilder:validation:Required Type *string `json:"type" tf:"type,omitempty"` // +kubebuilder:validation:Optional UserSecurityGroup *string `json:"userSecurityGroup,omitempty" tf:"user_security_group,omitempty"` // +crossplane:generate:reference:type=github.com/lucj/provider-jet-exoscale/apis/securitygroup/v1alpha1.SecurityGroup // +crossplane:generate:reference:refFieldName=UserSecurityGroupIdRef // +crossplane:generate:reference:selectorFieldName=UserSecurityGroupIdSelector // +kubebuilder:validation:Optional UserSecurityGroupID *string `json:"userSecurityGroupId,omitempty" tf:"user_security_group_id,omitempty"` // +kubebuilder:validation:Optional UserSecurityGroupIdRef *v1.Reference `json:"userSecurityGroupIdRef,omitempty" tf:"-"` // +kubebuilder:validation:Optional UserSecurityGroupIdSelector *v1.Selector `json:"userSecurityGroupIdSelector,omitempty" tf:"-"` }
func (*SecurityGroupRuleParameters) DeepCopy ¶
func (in *SecurityGroupRuleParameters) DeepCopy() *SecurityGroupRuleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleParameters.
func (*SecurityGroupRuleParameters) DeepCopyInto ¶
func (in *SecurityGroupRuleParameters) DeepCopyInto(out *SecurityGroupRuleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleSpec ¶
type SecurityGroupRuleSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SecurityGroupRuleParameters `json:"forProvider"` }
SecurityGroupRuleSpec defines the desired state of SecurityGroupRule
func (*SecurityGroupRuleSpec) DeepCopy ¶
func (in *SecurityGroupRuleSpec) DeepCopy() *SecurityGroupRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleSpec.
func (*SecurityGroupRuleSpec) DeepCopyInto ¶
func (in *SecurityGroupRuleSpec) DeepCopyInto(out *SecurityGroupRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecurityGroupRuleStatus ¶
type SecurityGroupRuleStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SecurityGroupRuleObservation `json:"atProvider,omitempty"` }
SecurityGroupRuleStatus defines the observed state of SecurityGroupRule.
func (*SecurityGroupRuleStatus) DeepCopy ¶
func (in *SecurityGroupRuleStatus) DeepCopy() *SecurityGroupRuleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupRuleStatus.
func (*SecurityGroupRuleStatus) DeepCopyInto ¶
func (in *SecurityGroupRuleStatus) DeepCopyInto(out *SecurityGroupRuleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.