v1alpha1

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the network v1alpha1 API group +kubebuilder:object:generate=true +groupName=network.onmetal.de

Index

Constants

View Source
const (
	SNATMode = "SNAT"
	// Stateless NAT/1-1 NAT
	NATMode         = "NAT"
	TransparentMode = "Transparent"
)
View Source
const (
	// BoundModeFloating defines a ReservedIP which is dynamically assigned
	// as additional DNAT-ed IP for the target resource.
	BoundModeFloating = "Floating"
	// BoundModeStatic defines a ReservedIP which is directly assigned to an interface
	// of the target resource. This means the target is directly connected to the Subnet
	// of the reserved IP.
	BoundModeStatic = "Static"
)
View Source
const (
	SecurityGroupActionTypeAllowed ActionType = "allowed"
	SecurityGroupActionTypeDeny    ActionType = "deny"
	SecurityGroupStateUsed                    = "Used"
	SecurityGroupStateUnused                  = "Unused"
	SecurityGroupStateInvalid                 = "Invalid"
)
View Source
const (
	SubnetStateInitial = "Initial"
	SubnetStateUp      = "Up"
	SubnetStateDown    = "Down"
	SubnetStateInvalid = "Invalid"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "network.onmetal.de", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var IPAMRangeGK = schema.GroupKind{
	Group: GroupVersion.Group,
	Kind:  "IPAMRange",
}
View Source
var SubnetGK = schema.GroupKind{
	Group: GroupVersion.Group,
	Kind:  "Subnet",
}

Functions

This section is empty.

Types

type ActionType added in v0.0.4

type ActionType string

ActionType describes the action type of a SecurityGroupRule

type CIDRStatus added in v0.0.5

type CIDRStatus struct {
	// CIDR defines the cidr
	CIDR common.Cidr `json:"cidr"`
	// BlockedRanges is a list of blocked cidr ranges
	BlockedRanges []common.Cidr `json:"blockedRanges,omitempty"`
}

CIDRStatus is the status of a CIDR

func (*CIDRStatus) DeepCopy added in v0.0.5

func (in *CIDRStatus) DeepCopy() *CIDRStatus

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

func (*CIDRStatus) DeepCopyInto added in v0.0.5

func (in *CIDRStatus) DeepCopyInto(out *CIDRStatus)

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

type EgressSecurityGroupRule added in v0.0.4

type EgressSecurityGroupRule struct {
	SecurityGroupRule `json:",inline"`
	// Destination is either the cird or a reference to another security group
	Destination IPSetSpec `json:"destination,omitempty"`
}

EgressSecurityGroupRule is an egress rule of a security group

func (*EgressSecurityGroupRule) DeepCopy added in v0.0.4

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

func (*EgressSecurityGroupRule) DeepCopyInto added in v0.0.4

func (in *EgressSecurityGroupRule) DeepCopyInto(out *EgressSecurityGroupRule)

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

type FilterRule added in v0.0.5

type FilterRule struct {
	SecurityGroup common.ScopedReference `json:"securityGroup,omitempty"`
}

func (*FilterRule) DeepCopy added in v0.0.5

func (in *FilterRule) DeepCopy() *FilterRule

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

func (*FilterRule) DeepCopyInto added in v0.0.5

func (in *FilterRule) DeepCopyInto(out *FilterRule)

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

type Gateway

type Gateway struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GatewaySpec   `json:"spec,omitempty"`
	Status GatewayStatus `json:"status,omitempty"`
}

Gateway is the Schema for the gateways API

func (*Gateway) DeepCopy

func (in *Gateway) DeepCopy() *Gateway

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

func (*Gateway) DeepCopyInto

func (in *Gateway) DeepCopyInto(out *Gateway)

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

func (*Gateway) DeepCopyObject

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

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

type GatewayList

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

GatewayList contains a list of Gateway

func (*GatewayList) DeepCopy

func (in *GatewayList) DeepCopy() *GatewayList

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

func (*GatewayList) DeepCopyInto

func (in *GatewayList) DeepCopyInto(out *GatewayList)

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

func (*GatewayList) DeepCopyObject

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

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

type GatewaySpec

type GatewaySpec struct {
	Mode string `json:"mode"`
	// Regions is a list of regions where this Gateway should be available
	Regions     []string     `json:"regions,omitempty"`
	FilterRules []FilterRule `json:"filterRules,omitempty"`
	// Uplink is either a ReservedIP or a Subnet
	Uplink common.ScopedKindReference `json:"uplink"`
}

GatewaySpec defines the desired state of Gateway

func (*GatewaySpec) DeepCopy

func (in *GatewaySpec) DeepCopy() *GatewaySpec

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

func (*GatewaySpec) DeepCopyInto

func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)

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

type GatewayStatus

type GatewayStatus struct {
	common.StateFields `json:",inline"`
	IPs                []common.IPAddr `json:"ips,omitempty"`
}

GatewayStatus defines the observed state of Gateway

func (*GatewayStatus) DeepCopy

func (in *GatewayStatus) DeepCopy() *GatewayStatus

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

func (*GatewayStatus) DeepCopyInto

func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)

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

type IPAMRange added in v0.0.5

type IPAMRange struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   IPAMRangeSpec   `json:"spec,omitempty"`
	Status IPAMRangeStatus `json:"status,omitempty"`
}

IPAMRange is the Schema for the ipamranges API

func (*IPAMRange) DeepCopy added in v0.0.5

func (in *IPAMRange) DeepCopy() *IPAMRange

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

func (*IPAMRange) DeepCopyInto added in v0.0.5

func (in *IPAMRange) DeepCopyInto(out *IPAMRange)

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

func (*IPAMRange) DeepCopyObject added in v0.0.5

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

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

type IPAMRangeList added in v0.0.5

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

IPAMRangeList contains a list of IPAMRange

func (*IPAMRangeList) DeepCopy added in v0.0.5

func (in *IPAMRangeList) DeepCopy() *IPAMRangeList

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

func (*IPAMRangeList) DeepCopyInto added in v0.0.5

func (in *IPAMRangeList) DeepCopyInto(out *IPAMRangeList)

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

func (*IPAMRangeList) DeepCopyObject added in v0.0.5

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

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

type IPAMRangeSpec added in v0.0.5

type IPAMRangeSpec struct {
	Parent *common.ScopedReference `json:"parent,omitempty"`
	Size   string                  `json:"size,omitempty"`

	CIDR string `json:"cidr,omitempty"`
}

IPAMRangeSpec defines the desired state of IPAMRange Either parent and size or a give CIDR must be specified. If parent is specified, the effective range of the given size is allocated from the parent IP range. If parent and CIDR is defined, the given CIDR must be in the parent range and unused. It will be allocated if possible. Otherwise the status of the object will be set to "Failed".

func (*IPAMRangeSpec) DeepCopy added in v0.0.5

func (in *IPAMRangeSpec) DeepCopy() *IPAMRangeSpec

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

func (*IPAMRangeSpec) DeepCopyInto added in v0.0.5

func (in *IPAMRangeSpec) DeepCopyInto(out *IPAMRangeSpec)

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

type IPAMRangeStatus added in v0.0.5

type IPAMRangeStatus struct {
	common.StateFields `json:",inline"`
	Bound              *common.ScopedKindReference `json:"bound,omitempty"`
	CIDR               string                      `json:"cidr,omitempty"`
	FreeBlocks         []string                    `json:"freeBlocks,omitempty"`
}

IPAMRangeStatus defines the observed state of IPAMRange

func (*IPAMRangeStatus) DeepCopy added in v0.0.5

func (in *IPAMRangeStatus) DeepCopy() *IPAMRangeStatus

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

func (*IPAMRangeStatus) DeepCopyInto added in v0.0.5

func (in *IPAMRangeStatus) DeepCopyInto(out *IPAMRangeStatus)

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

type IPSetSpec added in v0.0.4

type IPSetSpec struct {
	// CIDR block for source/destination
	CIDR common.Cidr `json:"cidr,omitempty"`
	// SecurityGroupRef references a security group
	SecurityGroupRef common.ScopedReference `json:"securityGroupref,omitempty"`
}

IPSetSpec defines either a cidr or a security group reference

func (*IPSetSpec) DeepCopy added in v0.0.4

func (in *IPSetSpec) DeepCopy() *IPSetSpec

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

func (*IPSetSpec) DeepCopyInto added in v0.0.4

func (in *IPSetSpec) DeepCopyInto(out *IPSetSpec)

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

type IngressSecurityGroupRule added in v0.0.4

type IngressSecurityGroupRule struct {
	SecurityGroupRule `json:",inline"`
	// Source is either the cird or a reference to another security group
	Source IPSetSpec `json:"source,omitempty"`
}

IngressSecurityGroupRule is an ingress rule of a security group

func (*IngressSecurityGroupRule) DeepCopy added in v0.0.4

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

func (*IngressSecurityGroupRule) DeepCopyInto added in v0.0.4

func (in *IngressSecurityGroupRule) DeepCopyInto(out *IngressSecurityGroupRule)

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

type PortRange added in v0.0.4

type PortRange struct {
	// StartPort is the start port of the port range
	StartPort int `json:"startPort"`
	// EndPort is the end port of the port range
	EndPort int `json:"endPort,omitempty"`
}

PortRange defines the start and end of a port range

func (*PortRange) DeepCopy added in v0.0.4

func (in *PortRange) DeepCopy() *PortRange

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

func (*PortRange) DeepCopyInto added in v0.0.4

func (in *PortRange) DeepCopyInto(out *PortRange)

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

type RangeType added in v0.0.4

type RangeType struct {
	// IPAM is a reference to the an range block of a subnet
	IPAM common.ScopedReference `json:"ipam,omitempty"`
	// Size defines the size of a subnet e.g. "/12"
	Size string `json:"size,omitempty"`
	// CIDR is the CIDR block
	CIDR common.Cidr `json:"cidr,omitempty"`
	// BlockedRanges specifies which part of the subnet should be used for static IP assignment
	// e.g. 0/14 means the first /14 subnet is blocked in the allocated /12 subnet
	BlockedRanges []string `json:"blockedRanges,omitempty"`
}

RangeType defines the range/size of a subnet

func (*RangeType) DeepCopy added in v0.0.4

func (in *RangeType) DeepCopy() *RangeType

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

func (*RangeType) DeepCopyInto added in v0.0.4

func (in *RangeType) DeepCopyInto(out *RangeType)

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

type ReservedIP added in v0.0.4

type ReservedIP struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ReservedIPSpec   `json:"spec,omitempty"`
	Status ReservedIPStatus `json:"status,omitempty"`
}

ReservedIP is the Schema for the reservedips API

func (*ReservedIP) DeepCopy added in v0.0.4

func (in *ReservedIP) DeepCopy() *ReservedIP

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

func (*ReservedIP) DeepCopyInto added in v0.0.4

func (in *ReservedIP) DeepCopyInto(out *ReservedIP)

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

func (*ReservedIP) DeepCopyObject added in v0.0.4

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

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

type ReservedIPBound added in v0.0.5

type ReservedIPBound struct {
	Mode       string                     `json:"mode"`
	Assignment common.ScopedKindReference `json:"assignment,omitempty"`
}

ReservedIPBound describes the binding state of a ReservedIP

func (*ReservedIPBound) DeepCopy added in v0.0.5

func (in *ReservedIPBound) DeepCopy() *ReservedIPBound

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

func (*ReservedIPBound) DeepCopyInto added in v0.0.5

func (in *ReservedIPBound) DeepCopyInto(out *ReservedIPBound)

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

type ReservedIPList added in v0.0.4

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

ReservedIPList contains a list of ReservedIP

func (*ReservedIPList) DeepCopy added in v0.0.4

func (in *ReservedIPList) DeepCopy() *ReservedIPList

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

func (*ReservedIPList) DeepCopyInto added in v0.0.4

func (in *ReservedIPList) DeepCopyInto(out *ReservedIPList)

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

func (*ReservedIPList) DeepCopyObject added in v0.0.4

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

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

type ReservedIPSpec added in v0.0.4

type ReservedIPSpec struct {
	// Subnet references the subnet where an IP address should be reserved
	Subnet common.ScopedReference `json:"subnet"`
	// IP specifies an IP address which should be reserved. Must be in the CIDR of the
	// associated Subnet
	IP common.IPAddr `json:"ip,omitempty"`
	// Assignment indicates to which resource this IP address should be assigned
	Assignment common.ScopedKindReference `json:"assignment,omitempty"`
}

ReservedIPSpec defines the desired state of ReservedIP

func (*ReservedIPSpec) DeepCopy added in v0.0.4

func (in *ReservedIPSpec) DeepCopy() *ReservedIPSpec

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

func (*ReservedIPSpec) DeepCopyInto added in v0.0.4

func (in *ReservedIPSpec) DeepCopyInto(out *ReservedIPSpec)

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

type ReservedIPStatus added in v0.0.4

type ReservedIPStatus struct {
	// IP indicates the effective reserved IP address
	IP                 common.IPAddr `json:"ip,omitempty"`
	common.StateFields `json:",inline"`
	Bound              *ReservedIPBound `json:"bound,omitempty"`
}

ReservedIPStatus defines the observed state of ReservedIP

func (*ReservedIPStatus) DeepCopy added in v0.0.4

func (in *ReservedIPStatus) DeepCopy() *ReservedIPStatus

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

func (*ReservedIPStatus) DeepCopyInto added in v0.0.4

func (in *ReservedIPStatus) DeepCopyInto(out *ReservedIPStatus)

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

type Route added in v0.0.5

type Route struct {
	// SubnetRef is a reference to Subnet
	SubnetRef common.ScopedReference `json:"subnetRef,omitempty"`
	// CIDR is the matching CIDR of a Route
	CIDR string `json:"cidr,omitempty"`
	// Target is the target object of a Route
	Target common.ScopedKindReference `json:"target,omitempty"`
}

Route describes a single route definition

func (*Route) DeepCopy added in v0.0.5

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto added in v0.0.5

func (in *Route) DeepCopyInto(out *Route)

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

type RoutingDomain added in v0.0.5

type RoutingDomain struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RoutingDomainSpec   `json:"spec,omitempty"`
	Status RoutingDomainStatus `json:"status,omitempty"`
}

RoutingDomain is the Schema for the RoutingDomain API

func (*RoutingDomain) DeepCopy added in v0.0.5

func (in *RoutingDomain) DeepCopy() *RoutingDomain

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

func (*RoutingDomain) DeepCopyInto added in v0.0.5

func (in *RoutingDomain) DeepCopyInto(out *RoutingDomain)

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

func (*RoutingDomain) DeepCopyObject added in v0.0.5

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

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

type RoutingDomainList added in v0.0.5

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

RoutingDomainList contains a list of RoutingDomain

func (*RoutingDomainList) DeepCopy added in v0.0.5

func (in *RoutingDomainList) DeepCopy() *RoutingDomainList

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

func (*RoutingDomainList) DeepCopyInto added in v0.0.5

func (in *RoutingDomainList) DeepCopyInto(out *RoutingDomainList)

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

func (*RoutingDomainList) DeepCopyObject added in v0.0.5

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

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

type RoutingDomainSpec added in v0.0.5

type RoutingDomainSpec struct {
	// Routes is a list of routing instructions
	Routes []Route `json:"routes"`
}

RoutingDomainSpec defines the desired state of RoutingDomain Subnets associated with a RoutingDomain are routed implicitly and don't need explicit routing instructions.

func (*RoutingDomainSpec) DeepCopy added in v0.0.5

func (in *RoutingDomainSpec) DeepCopy() *RoutingDomainSpec

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

func (*RoutingDomainSpec) DeepCopyInto added in v0.0.5

func (in *RoutingDomainSpec) DeepCopyInto(out *RoutingDomainSpec)

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

type RoutingDomainStatus added in v0.0.5

type RoutingDomainStatus struct {
	common.StateFields `json:",inline"`
}

RoutingDomainStatus defines the observed state of RoutingDomain

func (*RoutingDomainStatus) DeepCopy added in v0.0.5

func (in *RoutingDomainStatus) DeepCopy() *RoutingDomainStatus

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

func (*RoutingDomainStatus) DeepCopyInto added in v0.0.5

func (in *RoutingDomainStatus) DeepCopyInto(out *RoutingDomainStatus)

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,omitempty"`
	Status SecurityGroupStatus `json:"status,omitempty"`
}

SecurityGroup is the Schema for the securitygroups API

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.

type SecurityGroupList

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

SecurityGroupList contains a list of SecurityGroup

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.

type SecurityGroupRule added in v0.0.4

type SecurityGroupRule struct {
	// Name is the name of the SecurityGroupRule
	Name string `json:"name"`
	// SecurityGroupRef is a scoped reference to an existing SecurityGroup
	SecurityGroupRef common.ScopedReference `json:"securityGroupRef,omitempty"`
	// Action defines the action type of a SecurityGroupRule
	Action ActionType `json:"action,omitempty"`
	// Protocol defines the protocol of a SecurityGroupRule
	Protocol string `json:"protocol,omitempty"`
	// PortRange is the port range of the SecurityGroupRule
	PortRange *PortRange `json:"portRange,omitempty"`
}

SecurityGroupRule is a single access rule

func (*SecurityGroupRule) DeepCopy added in v0.0.4

func (in *SecurityGroupRule) DeepCopy() *SecurityGroupRule

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

func (*SecurityGroupRule) DeepCopyInto added in v0.0.4

func (in *SecurityGroupRule) DeepCopyInto(out *SecurityGroupRule)

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

type SecurityGroupSpec

type SecurityGroupSpec struct {
	// Ingress is a list of inbound rules
	Ingress []IngressSecurityGroupRule `json:"ingress,omitempty"`
	// Egress is a list of outbound rules
	Egress []EgressSecurityGroupRule `json:"egress,omitempty"`
}

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 {
	common.StateFields `json:",inline"`
}

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 Subnet

type Subnet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SubnetSpec   `json:"spec,omitempty"`
	Status SubnetStatus `json:"status,omitempty"`
}

Subnet is the Schema for the subnets API

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

func (*Subnet) DeepCopyObject

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

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

type SubnetList

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

SubnetList contains a list of Subnet

func (*SubnetList) DeepCopy

func (in *SubnetList) DeepCopy() *SubnetList

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

func (*SubnetList) DeepCopyInto

func (in *SubnetList) DeepCopyInto(out *SubnetList)

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

func (*SubnetList) DeepCopyObject

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

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

type SubnetSpec

type SubnetSpec struct {
	// Parent is a reference to a public parent Subnet without regional manifestation. The direct children
	// then represent the regional incarnations of this public subnet.
	Parent common.ScopedReference `json:"parent,omitempty"`
	// Locations defines in which regions and availability zone this subnet should be available
	Locations []common.RegionAvailability `json:"locations,omitempty"`
	// RoutingDomain is the reference to the routing domain this SubNet should be associated with
	RoutingDomain common.ScopedReference `json:"routingDomain"`
	// Ranges defines the size of the subnet
	// +kubebuilder:validation:MinItems:=1
	Ranges []RangeType `json:"ranges,omitempty"`
}

SubnetSpec defines the desired state of Subnet

func (*SubnetSpec) DeepCopy

func (in *SubnetSpec) DeepCopy() *SubnetSpec

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

func (*SubnetSpec) DeepCopyInto

func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)

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

type SubnetStatus

type SubnetStatus struct {
	common.StateFields `json:",inline"`
	// CIDRs is a list of CIDR status
	CIDRs []CIDRStatus `json:"cidrs,omitempty"`
}

SubnetStatus defines the observed state of Subnet

func (*SubnetStatus) DeepCopy

func (in *SubnetStatus) DeepCopy() *SubnetStatus

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

func (*SubnetStatus) DeepCopyInto

func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)

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