v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=securitygroup.upjet-provider-outscale.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "securitygroup.upjet-provider-outscale.upbound.io"
	CRDVersion = "v1alpha1"
)

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 (
	SecurityGroup_Kind             = "SecurityGroup"
	SecurityGroup_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: SecurityGroup_Kind}.String()
	SecurityGroup_KindAPIVersion   = SecurityGroup_Kind + "." + CRDGroupVersion.String()
	SecurityGroup_GroupVersionKind = CRDGroupVersion.WithKind(SecurityGroup_Kind)
)

Repository type metadata.

View Source
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 InboundRulesObservation

type InboundRulesObservation struct {
	FromPortRange *float64 `json:"fromPortRange,omitempty" tf:"from_port_range,omitempty"`

	IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`

	IPRanges []*string `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"`

	SecurityGroupsMembers []map[string]*string `json:"securityGroupsMembers,omitempty" tf:"security_groups_members,omitempty"`

	ToPortRange *float64 `json:"toPortRange,omitempty" tf:"to_port_range,omitempty"`
}

func (*InboundRulesObservation) DeepCopy

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

func (*InboundRulesObservation) DeepCopyInto

func (in *InboundRulesObservation) DeepCopyInto(out *InboundRulesObservation)

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

type InboundRulesParameters

type InboundRulesParameters struct {
}

func (*InboundRulesParameters) DeepCopy

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

func (*InboundRulesParameters) DeepCopyInto

func (in *InboundRulesParameters) DeepCopyInto(out *InboundRulesParameters)

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

type OutboundRulesObservation

type OutboundRulesObservation struct {
	FromPortRange *float64 `json:"fromPortRange,omitempty" tf:"from_port_range,omitempty"`

	IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`

	IPRanges []*string `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"`

	SecurityGroupsMembers []map[string]*string `json:"securityGroupsMembers,omitempty" tf:"security_groups_members,omitempty"`

	ToPortRange *float64 `json:"toPortRange,omitempty" tf:"to_port_range,omitempty"`
}

func (*OutboundRulesObservation) DeepCopy

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

func (*OutboundRulesObservation) DeepCopyInto

func (in *OutboundRulesObservation) DeepCopyInto(out *OutboundRulesObservation)

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

type OutboundRulesParameters

type OutboundRulesParameters struct {
}

func (*OutboundRulesParameters) DeepCopy

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

func (*OutboundRulesParameters) DeepCopyInto

func (in *OutboundRulesParameters) DeepCopyInto(out *OutboundRulesParameters)

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

type OutboundRulesSecurityGroupsMembersObservation

type OutboundRulesSecurityGroupsMembersObservation struct {
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	SecurityGroupName *string `json:"securityGroupName,omitempty" tf:"security_group_name,omitempty"`
}

func (*OutboundRulesSecurityGroupsMembersObservation) DeepCopy

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

func (*OutboundRulesSecurityGroupsMembersObservation) DeepCopyInto

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

type OutboundRulesSecurityGroupsMembersParameters

type OutboundRulesSecurityGroupsMembersParameters struct {
}

func (*OutboundRulesSecurityGroupsMembersParameters) DeepCopy

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

func (*OutboundRulesSecurityGroupsMembersParameters) DeepCopyInto

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

type RulesObservation

type RulesObservation struct {
}

func (*RulesObservation) DeepCopy

func (in *RulesObservation) DeepCopy() *RulesObservation

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

func (*RulesObservation) DeepCopyInto

func (in *RulesObservation) DeepCopyInto(out *RulesObservation)

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

type RulesParameters

type RulesParameters struct {

	// +kubebuilder:validation:Optional
	FromPortRange *float64 `json:"fromPortRange,omitempty" tf:"from_port_range,omitempty"`

	// +kubebuilder:validation:Optional
	IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`

	// +kubebuilder:validation:Optional
	IPRanges []*string `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupsMembers []RulesSecurityGroupsMembersParameters `json:"securityGroupsMembers,omitempty" tf:"security_groups_members,omitempty"`

	// +kubebuilder:validation:Optional
	ServiceIds []*string `json:"serviceIds,omitempty" tf:"service_ids,omitempty"`

	// +kubebuilder:validation:Optional
	ToPortRange *float64 `json:"toPortRange,omitempty" tf:"to_port_range,omitempty"`
}

func (*RulesParameters) DeepCopy

func (in *RulesParameters) DeepCopy() *RulesParameters

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

func (*RulesParameters) DeepCopyInto

func (in *RulesParameters) DeepCopyInto(out *RulesParameters)

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

type RulesSecurityGroupsMembersObservation

type RulesSecurityGroupsMembersObservation struct {
}

func (*RulesSecurityGroupsMembersObservation) DeepCopy

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

func (*RulesSecurityGroupsMembersObservation) DeepCopyInto

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

type RulesSecurityGroupsMembersParameters

type RulesSecurityGroupsMembersParameters struct {

	// +kubebuilder:validation:Optional
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	// +crossplane:generate:reference:type=SecurityGroup
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Reference to a SecurityGroup to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`

	// Selector for a SecurityGroup to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SecurityGroupName *string `json:"securityGroupName,omitempty" tf:"security_group_name,omitempty"`
}

func (*RulesSecurityGroupsMembersParameters) DeepCopy

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

func (*RulesSecurityGroupsMembersParameters) DeepCopyInto

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

type SecurityGroup

type SecurityGroup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SecurityGroupSpec   `json:"spec"`
	Status            SecurityGroupStatus `json:"status,omitempty"`
}

SecurityGroup is the Schema for the SecurityGroups API. <no value> +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,upjet-provider-outscale}

func (*SecurityGroup) DeepCopy

func (in *SecurityGroup) DeepCopy() *SecurityGroup

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

func (*SecurityGroup) DeepCopyInto

func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)

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

func (*SecurityGroup) DeepCopyObject

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

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

func (*SecurityGroup) GetCondition

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

GetCondition of this SecurityGroup.

func (*SecurityGroup) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this SecurityGroup

func (*SecurityGroup) GetDeletionPolicy

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

GetDeletionPolicy of this SecurityGroup.

func (*SecurityGroup) GetID

func (tr *SecurityGroup) GetID() string

GetID returns ID of underlying Terraform resource of this SecurityGroup

func (*SecurityGroup) GetObservation

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

GetObservation of this SecurityGroup

func (*SecurityGroup) GetParameters

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

GetParameters of this SecurityGroup

func (*SecurityGroup) GetProviderConfigReference

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

GetProviderConfigReference of this SecurityGroup.

func (*SecurityGroup) GetProviderReference

func (mg *SecurityGroup) GetProviderReference() *xpv1.Reference

GetProviderReference of this SecurityGroup. Deprecated: Use GetProviderConfigReference.

func (*SecurityGroup) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SecurityGroup.

func (*SecurityGroup) GetTerraformResourceType

func (mg *SecurityGroup) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this SecurityGroup

func (*SecurityGroup) GetTerraformSchemaVersion

func (tr *SecurityGroup) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*SecurityGroup) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this SecurityGroup.

func (*SecurityGroup) LateInitialize

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

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

func (*SecurityGroup) ResolveReferences

func (mg *SecurityGroup) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this SecurityGroup.

func (*SecurityGroup) SetConditions

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

SetConditions of this SecurityGroup.

func (*SecurityGroup) SetDeletionPolicy

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

SetDeletionPolicy of this SecurityGroup.

func (*SecurityGroup) SetObservation

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

SetObservation for this SecurityGroup

func (*SecurityGroup) SetParameters

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

SetParameters for this SecurityGroup

func (*SecurityGroup) SetProviderConfigReference

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

SetProviderConfigReference of this SecurityGroup.

func (*SecurityGroup) SetProviderReference

func (mg *SecurityGroup) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this SecurityGroup. Deprecated: Use SetProviderConfigReference.

func (*SecurityGroup) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SecurityGroup.

func (*SecurityGroup) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SecurityGroup.

type SecurityGroupList

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

SecurityGroupList contains a list of SecurityGroups

func (*SecurityGroupList) DeepCopy

func (in *SecurityGroupList) DeepCopy() *SecurityGroupList

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

func (*SecurityGroupList) DeepCopyInto

func (in *SecurityGroupList) DeepCopyInto(out *SecurityGroupList)

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

func (*SecurityGroupList) DeepCopyObject

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

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

func (*SecurityGroupList) GetItems

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

GetItems of this SecurityGroupList.

type SecurityGroupObservation

type SecurityGroupObservation struct {
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

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

	InboundRules []InboundRulesObservation `json:"inboundRules,omitempty" tf:"inbound_rules,omitempty"`

	OutboundRules []OutboundRulesObservation `json:"outboundRules,omitempty" tf:"outbound_rules,omitempty"`

	RequestID *string `json:"requestId,omitempty" tf:"request_id,omitempty"`

	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`
}

func (*SecurityGroupObservation) DeepCopy

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

func (*SecurityGroupObservation) DeepCopyInto

func (in *SecurityGroupObservation) DeepCopyInto(out *SecurityGroupObservation)

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

type SecurityGroupParameters

type SecurityGroupParameters struct {

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +crossplane:generate:reference:type=github.com/outscale/upjet-provider-outscale/apis/net/v1alpha1.Net
	// +kubebuilder:validation:Optional
	NetID *string `json:"netId,omitempty" tf:"net_id,omitempty"`

	// Reference to a Net in net to populate netId.
	// +kubebuilder:validation:Optional
	NetIDRef *v1.Reference `json:"netIdRef,omitempty" tf:"-"`

	// Selector for a Net in net to populate netId.
	// +kubebuilder:validation:Optional
	NetIDSelector *v1.Selector `json:"netIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	RemoveDefaultOutboundRule *bool `json:"removeDefaultOutboundRule,omitempty" tf:"remove_default_outbound_rule,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupName *string `json:"securityGroupName,omitempty" tf:"security_group_name,omitempty"`

	// +kubebuilder:validation:Optional
	Tag map[string]*string `json:"tag,omitempty" tf:"tag,omitempty"`

	// +kubebuilder:validation:Optional
	Tags []TagsParameters `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*SecurityGroupParameters) DeepCopy

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

func (*SecurityGroupParameters) DeepCopyInto

func (in *SecurityGroupParameters) DeepCopyInto(out *SecurityGroupParameters)

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

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. <no value> +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,upjet-provider-outscale}

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) GetID

func (tr *SecurityGroupRule) GetID() string

GetID returns ID of underlying Terraform resource of this SecurityGroupRule

func (*SecurityGroupRule) GetObservation

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

GetObservation of this SecurityGroupRule

func (*SecurityGroupRule) GetParameters

func (tr *SecurityGroupRule) GetParameters() (map[string]any, 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) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this SecurityGroupRule.

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

func (mg *SecurityGroupRule) ResolveReferences(ctx context.Context, c client.Reader) error

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]any) error

SetObservation for this SecurityGroupRule

func (*SecurityGroupRule) SetParameters

func (tr *SecurityGroupRule) SetParameters(params map[string]any) 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) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this SecurityGroupRule.

func (*SecurityGroupRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SecurityGroupRule.

type SecurityGroupRuleInboundRulesObservation

type SecurityGroupRuleInboundRulesObservation struct {
	FromPortRange *float64 `json:"fromPortRange,omitempty" tf:"from_port_range,omitempty"`

	IPRanges []*string `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupsMembers []SecurityGroupsMembersObservation `json:"securityGroupsMembers,omitempty" tf:"security_groups_members,omitempty"`

	ServiceIds []*string `json:"serviceIds,omitempty" tf:"service_ids,omitempty"`

	ToPortRange *float64 `json:"toPortRange,omitempty" tf:"to_port_range,omitempty"`
}

func (*SecurityGroupRuleInboundRulesObservation) DeepCopy

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

func (*SecurityGroupRuleInboundRulesObservation) DeepCopyInto

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

type SecurityGroupRuleInboundRulesParameters

type SecurityGroupRuleInboundRulesParameters struct {

	// +kubebuilder:validation:Optional
	IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupsMembers []SecurityGroupsMembersParameters `json:"securityGroupsMembers,omitempty" tf:"security_groups_members,omitempty"`
}

func (*SecurityGroupRuleInboundRulesParameters) DeepCopy

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

func (*SecurityGroupRuleInboundRulesParameters) DeepCopyInto

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

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

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 {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// +kubebuilder:validation:Optional
	InboundRules []SecurityGroupRuleInboundRulesObservation `json:"inboundRules,omitempty" tf:"inbound_rules,omitempty"`

	NetID *string `json:"netId,omitempty" tf:"net_id,omitempty"`

	// +kubebuilder:validation:Optional
	OutboundRules []SecurityGroupRuleOutboundRulesObservation `json:"outboundRules,omitempty" tf:"outbound_rules,omitempty"`

	RequestID *string `json:"requestId,omitempty" tf:"request_id,omitempty"`

	SecurityGroupName *string `json:"securityGroupName,omitempty" tf:"security_group_name,omitempty"`
}

func (*SecurityGroupRuleObservation) DeepCopy

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

func (*SecurityGroupRuleObservation) DeepCopyInto

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

type SecurityGroupRuleOutboundRulesObservation

type SecurityGroupRuleOutboundRulesObservation struct {
	FromPortRange *float64 `json:"fromPortRange,omitempty" tf:"from_port_range,omitempty"`

	IPRanges []*string `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupsMembers []OutboundRulesSecurityGroupsMembersObservation `json:"securityGroupsMembers,omitempty" tf:"security_groups_members,omitempty"`

	ServiceIds []*string `json:"serviceIds,omitempty" tf:"service_ids,omitempty"`

	ToPortRange *float64 `json:"toPortRange,omitempty" tf:"to_port_range,omitempty"`
}

func (*SecurityGroupRuleOutboundRulesObservation) DeepCopy

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

func (*SecurityGroupRuleOutboundRulesObservation) DeepCopyInto

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

type SecurityGroupRuleOutboundRulesParameters

type SecurityGroupRuleOutboundRulesParameters struct {

	// +kubebuilder:validation:Optional
	IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupsMembers []OutboundRulesSecurityGroupsMembersParameters `json:"securityGroupsMembers,omitempty" tf:"security_groups_members,omitempty"`
}

func (*SecurityGroupRuleOutboundRulesParameters) DeepCopy

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

func (*SecurityGroupRuleOutboundRulesParameters) DeepCopyInto

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

type SecurityGroupRuleParameters

type SecurityGroupRuleParameters struct {

	// +kubebuilder:validation:Required
	Flow *string `json:"flow" tf:"flow,omitempty"`

	// +kubebuilder:validation:Optional
	FromPortRange *float64 `json:"fromPortRange,omitempty" tf:"from_port_range,omitempty"`

	// +kubebuilder:validation:Optional
	IPProtocol *string `json:"ipProtocol,omitempty" tf:"ip_protocol,omitempty"`

	// +kubebuilder:validation:Optional
	IPRange *string `json:"ipRange,omitempty" tf:"ip_range,omitempty"`

	// +kubebuilder:validation:Optional
	InboundRules []SecurityGroupRuleInboundRulesParameters `json:"inboundRules,omitempty" tf:"inbound_rules,omitempty"`

	// +kubebuilder:validation:Optional
	OutboundRules []SecurityGroupRuleOutboundRulesParameters `json:"outboundRules,omitempty" tf:"outbound_rules,omitempty"`

	// +kubebuilder:validation:Optional
	Rules []RulesParameters `json:"rules,omitempty" tf:"rules,omitempty"`

	// +kubebuilder:validation:Optional
	SecurityGroupAccountIDToLink *string `json:"securityGroupAccountIdToLink,omitempty" tf:"security_group_account_id_to_link,omitempty"`

	// +crossplane:generate:reference:type=SecurityGroup
	// +kubebuilder:validation:Optional
	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	// Reference to a SecurityGroup to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDRef *v1.Reference `json:"securityGroupIdRef,omitempty" tf:"-"`

	// Selector for a SecurityGroup to populate securityGroupId.
	// +kubebuilder:validation:Optional
	SecurityGroupIDSelector *v1.Selector `json:"securityGroupIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SecurityGroupNameToLink *string `json:"securityGroupNameToLink,omitempty" tf:"security_group_name_to_link,omitempty"`

	// +kubebuilder:validation:Optional
	ToPortRange *float64 `json:"toPortRange,omitempty" tf:"to_port_range,omitempty"`
}

func (*SecurityGroupRuleParameters) DeepCopy

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

func (*SecurityGroupRuleParameters) DeepCopyInto

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

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

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.

type SecurityGroupSpec

type SecurityGroupSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SecurityGroupParameters `json:"forProvider"`
}

SecurityGroupSpec defines the desired state of SecurityGroup

func (*SecurityGroupSpec) DeepCopy

func (in *SecurityGroupSpec) DeepCopy() *SecurityGroupSpec

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

func (*SecurityGroupSpec) DeepCopyInto

func (in *SecurityGroupSpec) DeepCopyInto(out *SecurityGroupSpec)

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

type SecurityGroupStatus

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

SecurityGroupStatus defines the observed state of SecurityGroup.

func (*SecurityGroupStatus) DeepCopy

func (in *SecurityGroupStatus) DeepCopy() *SecurityGroupStatus

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

func (*SecurityGroupStatus) DeepCopyInto

func (in *SecurityGroupStatus) DeepCopyInto(out *SecurityGroupStatus)

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

type SecurityGroupsMembersObservation

type SecurityGroupsMembersObservation struct {
	AccountID *string `json:"accountId,omitempty" tf:"account_id,omitempty"`

	SecurityGroupID *string `json:"securityGroupId,omitempty" tf:"security_group_id,omitempty"`

	SecurityGroupName *string `json:"securityGroupName,omitempty" tf:"security_group_name,omitempty"`
}

func (*SecurityGroupsMembersObservation) DeepCopy

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

func (*SecurityGroupsMembersObservation) DeepCopyInto

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

type SecurityGroupsMembersParameters

type SecurityGroupsMembersParameters struct {
}

func (*SecurityGroupsMembersParameters) DeepCopy

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

func (*SecurityGroupsMembersParameters) DeepCopyInto

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

type TagsObservation

type TagsObservation struct {
}

func (*TagsObservation) DeepCopy

func (in *TagsObservation) DeepCopy() *TagsObservation

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

func (*TagsObservation) DeepCopyInto

func (in *TagsObservation) DeepCopyInto(out *TagsObservation)

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

type TagsParameters

type TagsParameters struct {

	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*TagsParameters) DeepCopy

func (in *TagsParameters) DeepCopy() *TagsParameters

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

func (*TagsParameters) DeepCopyInto

func (in *TagsParameters) DeepCopyInto(out *TagsParameters)

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