v1alpha1

package
v0.0.0-...-bf43ebf Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Group   = "security-group-rule.terraform-provider-aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Kind                  = "SecurityGroupRule"
	GroupKind             = schema.GroupKind{Group: Group, Kind: Kind}.String()
	KindAPIVersion        = Kind + "." + SchemeGroupVersion.String()
	GroupVersionKind      = SchemeGroupVersion.WithKind(Kind)
	TerraformResourceName = "aws_security_group_rule"
)
View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}
)

Functions

func DecodeSecurityGroupRule

func DecodeSecurityGroupRule(prev *SecurityGroupRule, ctyValue cty.Value) (resource.Managed, error)

func DecodeSecurityGroupRule_CidrBlocks

func DecodeSecurityGroupRule_CidrBlocks(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeSecurityGroupRule_Description

func DecodeSecurityGroupRule_Description(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSecurityGroupRule_FromPort

func DecodeSecurityGroupRule_FromPort(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSecurityGroupRule_Ipv6CidrBlocks

func DecodeSecurityGroupRule_Ipv6CidrBlocks(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeSecurityGroupRule_PrefixListIds

func DecodeSecurityGroupRule_PrefixListIds(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveCollectionTypeDecodeTemplate

func DecodeSecurityGroupRule_Protocol

func DecodeSecurityGroupRule_Protocol(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSecurityGroupRule_SecurityGroupId

func DecodeSecurityGroupRule_SecurityGroupId(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSecurityGroupRule_Self

func DecodeSecurityGroupRule_Self(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSecurityGroupRule_SourceSecurityGroupId

func DecodeSecurityGroupRule_SourceSecurityGroupId(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSecurityGroupRule_ToPort

func DecodeSecurityGroupRule_ToPort(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func DecodeSecurityGroupRule_Type

func DecodeSecurityGroupRule_Type(p *SecurityGroupRuleParameters, vals map[string]cty.Value)

primitiveTypeDecodeTemplate

func EncodeSecurityGroupRule

func EncodeSecurityGroupRule(r SecurityGroupRule) cty.Value

func EncodeSecurityGroupRule_CidrBlocks

func EncodeSecurityGroupRule_CidrBlocks(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func EncodeSecurityGroupRule_Description

func EncodeSecurityGroupRule_Description(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func EncodeSecurityGroupRule_FromPort

func EncodeSecurityGroupRule_FromPort(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func EncodeSecurityGroupRule_Ipv6CidrBlocks

func EncodeSecurityGroupRule_Ipv6CidrBlocks(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func EncodeSecurityGroupRule_PrefixListIds

func EncodeSecurityGroupRule_PrefixListIds(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func EncodeSecurityGroupRule_Protocol

func EncodeSecurityGroupRule_Protocol(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func EncodeSecurityGroupRule_SecurityGroupId

func EncodeSecurityGroupRule_SecurityGroupId(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func EncodeSecurityGroupRule_Self

func EncodeSecurityGroupRule_Self(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func EncodeSecurityGroupRule_SourceSecurityGroupId

func EncodeSecurityGroupRule_SourceSecurityGroupId(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func EncodeSecurityGroupRule_ToPort

func EncodeSecurityGroupRule_ToPort(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func EncodeSecurityGroupRule_Type

func EncodeSecurityGroupRule_Type(p SecurityGroupRuleParameters, vals map[string]cty.Value)

func Implementation

func Implementation() *plugin.Implementation

func MergeSecurityGroupRule_CidrBlocks

func MergeSecurityGroupRule_CidrBlocks(k *SecurityGroupRuleParameters, p *SecurityGroupRuleParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeSecurityGroupRule_Description

func MergeSecurityGroupRule_Description(k *SecurityGroupRuleParameters, p *SecurityGroupRuleParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSecurityGroupRule_FromPort

func MergeSecurityGroupRule_FromPort(k *SecurityGroupRuleParameters, p *SecurityGroupRuleParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSecurityGroupRule_Ipv6CidrBlocks

func MergeSecurityGroupRule_Ipv6CidrBlocks(k *SecurityGroupRuleParameters, p *SecurityGroupRuleParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeSecurityGroupRule_PrefixListIds

func MergeSecurityGroupRule_PrefixListIds(k *SecurityGroupRuleParameters, p *SecurityGroupRuleParameters, md *plugin.MergeDescription) bool

mergePrimitiveContainerTemplateSpec

func MergeSecurityGroupRule_Protocol

func MergeSecurityGroupRule_Protocol(k *SecurityGroupRuleParameters, p *SecurityGroupRuleParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSecurityGroupRule_SecurityGroupId

func MergeSecurityGroupRule_SecurityGroupId(k *SecurityGroupRuleParameters, p *SecurityGroupRuleParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSecurityGroupRule_Self

mergePrimitiveTemplateSpec

func MergeSecurityGroupRule_SourceSecurityGroupId

func MergeSecurityGroupRule_SourceSecurityGroupId(k *SecurityGroupRuleParameters, p *SecurityGroupRuleParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSecurityGroupRule_ToPort

func MergeSecurityGroupRule_ToPort(k *SecurityGroupRuleParameters, p *SecurityGroupRuleParameters, md *plugin.MergeDescription) bool

mergePrimitiveTemplateSpec

func MergeSecurityGroupRule_Type

mergePrimitiveTemplateSpec

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 a managed resource representing a resource mirrored in the cloud +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

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

GetCondition of this SecurityGroupRule.

func (*SecurityGroupRule) GetDeletionPolicy

func (mg *SecurityGroupRule) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this SecurityGroupRule.

func (*SecurityGroupRule) GetProviderConfigReference

func (mg *SecurityGroupRule) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this SecurityGroupRule.

func (*SecurityGroupRule) GetProviderReference

func (mg *SecurityGroupRule) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this SecurityGroupRule. Deprecated: Use GetProviderConfigReference.

func (*SecurityGroupRule) GetWriteConnectionSecretToReference

func (mg *SecurityGroupRule) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this SecurityGroupRule.

func (*SecurityGroupRule) SetConditions

func (mg *SecurityGroupRule) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this SecurityGroupRule.

func (*SecurityGroupRule) SetDeletionPolicy

func (mg *SecurityGroupRule) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this SecurityGroupRule.

func (*SecurityGroupRule) SetProviderConfigReference

func (mg *SecurityGroupRule) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this SecurityGroupRule.

func (*SecurityGroupRule) SetProviderReference

func (mg *SecurityGroupRule) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this SecurityGroupRule. Deprecated: Use SetProviderConfigReference.

func (*SecurityGroupRule) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this SecurityGroupRule.

type SecurityGroupRuleList

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

SecurityGroupRule contains a list of SecurityGroupRuleList

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{}

A SecurityGroupRuleObservation records the observed state of a SecurityGroupRule

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 SecurityGroupRuleParameters

type SecurityGroupRuleParameters struct {
	Ipv6CidrBlocks        []string `json:"ipv6_cidr_blocks"`
	Protocol              string   `json:"protocol"`
	Type                  string   `json:"type"`
	CidrBlocks            []string `json:"cidr_blocks"`
	FromPort              int64    `json:"from_port"`
	Self                  bool     `json:"self"`
	SourceSecurityGroupId string   `json:"source_security_group_id"`
	ToPort                int64    `json:"to_port"`
	Description           string   `json:"description"`
	PrefixListIds         []string `json:"prefix_list_ids"`
	SecurityGroupId       string   `json:"security_group_id"`
}

A SecurityGroupRuleParameters defines the desired state of a SecurityGroupRule

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 {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	ForProvider                  SecurityGroupRuleParameters `json:"forProvider"`
}

A SecurityGroupRuleSpec defines the desired state of a 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 {
	runtimev1alpha1.ResourceStatus `json:",inline"`
	AtProvider                     SecurityGroupRuleObservation `json:"atProvider"`
}

A SecurityGroupRuleStatus defines the observed state of a 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL