v1alpha3

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1alpha3 contains managed resources for Azure network services such as virtual networks. +kubebuilder:object:generate=true +groupName=network.azure.crossplane.io +versionName=v1alpha3

Index

Constants

View Source
const (
	Group   = "network.azure.crossplane.io"
	Version = "v1alpha3"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	VirtualNetworkKind             = reflect.TypeOf(VirtualNetwork{}).Name()
	VirtualNetworkGroupKind        = schema.GroupKind{Group: Group, Kind: VirtualNetworkKind}.String()
	VirtualNetworkKindAPIVersion   = VirtualNetworkKind + "." + SchemeGroupVersion.String()
	VirtualNetworkGroupVersionKind = SchemeGroupVersion.WithKind(VirtualNetworkKind)
)

VirtualNetwork type metadata.

View Source
var (
	SubnetKind             = reflect.TypeOf(Subnet{}).Name()
	SubnetGroupKind        = schema.GroupKind{Group: Group, Kind: SubnetKind}.String()
	SubnetKindAPIVersion   = SubnetKind + "." + SchemeGroupVersion.String()
	SubnetGroupVersionKind = SchemeGroupVersion.WithKind(SubnetKind)
)

Subnet type metadata.

Functions

This section is empty.

Types

type AddressSpace

type AddressSpace struct {
	// AddressPrefixes - A list of address blocks reserved for this virtual
	// network in CIDR notation.
	AddressPrefixes []string `json:"addressPrefixes"`
}

AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.

func (*AddressSpace) DeepCopy

func (in *AddressSpace) DeepCopy() *AddressSpace

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

func (*AddressSpace) DeepCopyInto

func (in *AddressSpace) DeepCopyInto(out *AddressSpace)

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

type ResourceGroupNameReferencerForSubnet

type ResourceGroupNameReferencerForSubnet struct {
	apisv1alpha3.ResourceGroupNameReferencer `json:",inline"`
}

ResourceGroupNameReferencerForSubnet is an attribute referencer that resolves name from a referenced ResourceGroup

func (*ResourceGroupNameReferencerForSubnet) Assign

Assign assigns the retrieved group name to the managed resource

func (*ResourceGroupNameReferencerForSubnet) DeepCopy

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

func (*ResourceGroupNameReferencerForSubnet) DeepCopyInto

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

type ResourceGroupNameReferencerForVirtualNetwork

type ResourceGroupNameReferencerForVirtualNetwork struct {
	apisv1alpha3.ResourceGroupNameReferencer `json:",inline"`
}

ResourceGroupNameReferencerForVirtualNetwork is an attribute referencer that resolves name from a referenced ResourceGroup

func (*ResourceGroupNameReferencerForVirtualNetwork) Assign

Assign assigns the retrieved group name to the managed resource

func (*ResourceGroupNameReferencerForVirtualNetwork) DeepCopy

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

func (*ResourceGroupNameReferencerForVirtualNetwork) DeepCopyInto

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

type ServiceEndpointPropertiesFormat

type ServiceEndpointPropertiesFormat struct {
	// Service - The type of the endpoint service.
	// +optional
	Service string `json:"service,omitempty"`

	// Locations - A list of locations.
	// +optional
	Locations []string `json:"locations,omitempty"`

	// ProvisioningState - The provisioning state of the resource.
	// +optional
	ProvisioningState string `json:"provisioningState,omitempty"`
}

ServiceEndpointPropertiesFormat defines properties of a service endpoint.

func (*ServiceEndpointPropertiesFormat) DeepCopy

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

func (*ServiceEndpointPropertiesFormat) DeepCopyInto

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

A Subnet is a managed resource that represents an Azure Subnet. +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="LOCATION",type="string",JSONPath=".spec.location" +kubebuilder:printcolumn:name="RECLAIM-POLICY",type="string",JSONPath=".spec.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

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.

func (*Subnet) GetBindingPhase

func (mg *Subnet) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this Subnet.

func (*Subnet) GetClaimReference

func (mg *Subnet) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this Subnet.

func (*Subnet) GetClassReference

func (mg *Subnet) GetClassReference() *corev1.ObjectReference

GetClassReference of this Subnet.

func (*Subnet) GetCondition

GetCondition of this Subnet.

func (*Subnet) GetReclaimPolicy

func (mg *Subnet) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this Subnet.

func (*Subnet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Subnet.

func (*Subnet) SetBindingPhase

func (mg *Subnet) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this Subnet.

func (*Subnet) SetClaimReference

func (mg *Subnet) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this Subnet.

func (*Subnet) SetClassReference

func (mg *Subnet) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this Subnet.

func (*Subnet) SetConditions

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

SetConditions of this Subnet.

func (*Subnet) SetReclaimPolicy

func (mg *Subnet) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this Subnet.

func (*Subnet) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Subnet.

type SubnetIDReferencer

type SubnetIDReferencer struct {
	corev1.LocalObjectReference `json:",inline"`
}

SubnetIDReferencer is used to get the name from another Subnet

func (*SubnetIDReferencer) Build

Build retrieves and builds the NetworkName

func (*SubnetIDReferencer) DeepCopy

func (in *SubnetIDReferencer) DeepCopy() *SubnetIDReferencer

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

func (*SubnetIDReferencer) DeepCopyInto

func (in *SubnetIDReferencer) DeepCopyInto(out *SubnetIDReferencer)

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

func (*SubnetIDReferencer) GetStatus

GetStatus implements GetStatus method of AttributeReferencer interface

type SubnetList

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

SubnetList contains a list of Subnet items

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 SubnetPropertiesFormat

type SubnetPropertiesFormat struct {
	// AddressPrefix - The address prefix for the subnet.
	AddressPrefix string `json:"addressPrefix"`

	// ServiceEndpoints - An array of service endpoints.
	ServiceEndpoints []ServiceEndpointPropertiesFormat `json:"serviceEndpoints,omitempty"`
}

SubnetPropertiesFormat defines properties of a Subnet.

func (*SubnetPropertiesFormat) DeepCopy

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

func (*SubnetPropertiesFormat) DeepCopyInto

func (in *SubnetPropertiesFormat) DeepCopyInto(out *SubnetPropertiesFormat)

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

type SubnetSpec

type SubnetSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`

	// Name - The name of the resource that is unique within a resource group.
	// This name can be used to access the resource.
	Name string `json:"name"`

	// VirtualNetworkName - Name of the Subnet's virtual network.
	VirtualNetworkName string `json:"virtualNetworkName,omitempty"`

	// VirtualNetworkNameRef references to a VirtualNetwork to retrieve its name
	VirtualNetworkNameRef *VirtualNetworkNameReferencerForSubnet `json:"virtualNetworkNameRef,omitempty" resource:"attributereferencer"`

	// ResourceGroupName - Name of the Subnet's resource group.
	ResourceGroupName string `json:"resourceGroupName,omitempty"`

	// ResourceGroupNameRef - A reference to the the Subnets's resource group.
	ResourceGroupNameRef *ResourceGroupNameReferencerForSubnet `json:"resourceGroupNameRef,omitempty" resource:"attributereferencer"`

	// SubnetPropertiesFormat - Properties of the subnet.
	SubnetPropertiesFormat `json:"properties"`
}

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

	// State of this Subnet.
	State string `json:"state,omitempty"`

	// A Message providing detail about the state of this Subnet, if any.
	Message string `json:"message,omitempty"`

	// Etag - A unique string that changes whenever the resource is updated.
	Etag string `json:"etag,omitempty"`

	// ID of this Subnet.
	ID string `json:"id,omitempty"`

	// Purpose - A string identifying the intention of use for this subnet based
	// on delegations and other user-defined properties.
	Purpose string `json:"purpose,omitempty"`
}

A SubnetStatus represents the observed state of a 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.

type VirtualNetwork

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

	Spec   VirtualNetworkSpec   `json:"spec"`
	Status VirtualNetworkStatus `json:"status,omitempty"`
}

A VirtualNetwork is a managed resource that represents an Azure Virtual Network. +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="LOCATION",type="string",JSONPath=".spec.location" +kubebuilder:printcolumn:name="RECLAIM-POLICY",type="string",JSONPath=".spec.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*VirtualNetwork) DeepCopy

func (in *VirtualNetwork) DeepCopy() *VirtualNetwork

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

func (*VirtualNetwork) DeepCopyInto

func (in *VirtualNetwork) DeepCopyInto(out *VirtualNetwork)

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

func (*VirtualNetwork) DeepCopyObject

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

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

func (*VirtualNetwork) GetBindingPhase

func (mg *VirtualNetwork) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this VirtualNetwork.

func (*VirtualNetwork) GetClaimReference

func (mg *VirtualNetwork) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this VirtualNetwork.

func (*VirtualNetwork) GetClassReference

func (mg *VirtualNetwork) GetClassReference() *corev1.ObjectReference

GetClassReference of this VirtualNetwork.

func (*VirtualNetwork) GetCondition

GetCondition of this VirtualNetwork.

func (*VirtualNetwork) GetReclaimPolicy

func (mg *VirtualNetwork) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this VirtualNetwork.

func (*VirtualNetwork) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this VirtualNetwork.

func (*VirtualNetwork) SetBindingPhase

func (mg *VirtualNetwork) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this VirtualNetwork.

func (*VirtualNetwork) SetClaimReference

func (mg *VirtualNetwork) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this VirtualNetwork.

func (*VirtualNetwork) SetClassReference

func (mg *VirtualNetwork) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this VirtualNetwork.

func (*VirtualNetwork) SetConditions

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

SetConditions of this VirtualNetwork.

func (*VirtualNetwork) SetReclaimPolicy

func (mg *VirtualNetwork) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this VirtualNetwork.

func (*VirtualNetwork) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this VirtualNetwork.

type VirtualNetworkList

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

VirtualNetworkList contains a list of VirtualNetwork items

func (*VirtualNetworkList) DeepCopy

func (in *VirtualNetworkList) DeepCopy() *VirtualNetworkList

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

func (*VirtualNetworkList) DeepCopyInto

func (in *VirtualNetworkList) DeepCopyInto(out *VirtualNetworkList)

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

func (*VirtualNetworkList) DeepCopyObject

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

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

type VirtualNetworkNameReferencer

type VirtualNetworkNameReferencer struct {
	corev1.LocalObjectReference `json:",inline"`
}

VirtualNetworkNameReferencer is used to get the name from another VirtualNetwork

func (*VirtualNetworkNameReferencer) Build

Build retrieves and builds the NetworkName

func (*VirtualNetworkNameReferencer) DeepCopy

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

func (*VirtualNetworkNameReferencer) DeepCopyInto

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

func (*VirtualNetworkNameReferencer) GetStatus

GetStatus implements GetStatus method of AttributeReferencer interface

type VirtualNetworkNameReferencerForSubnet

type VirtualNetworkNameReferencerForSubnet struct {
	VirtualNetworkNameReferencer `json:",inline"`
}

VirtualNetworkNameReferencerForSubnet is an attribute referencer that resolves name from a referenced Network

func (*VirtualNetworkNameReferencerForSubnet) Assign

Assign assigns the retrieved network name to the managed resource

func (*VirtualNetworkNameReferencerForSubnet) DeepCopy

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

func (*VirtualNetworkNameReferencerForSubnet) DeepCopyInto

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

type VirtualNetworkPropertiesFormat

type VirtualNetworkPropertiesFormat struct {
	// AddressSpace - The AddressSpace that contains an array of IP address
	// ranges that can be used by subnets.
	// +optional
	AddressSpace AddressSpace `json:"addressSpace"`

	// EnableDDOSProtection - Indicates if DDoS protection is enabled for all
	// the protected resources in the virtual network. It requires a DDoS
	// protection plan associated with the resource.
	// +optional
	EnableDDOSProtection bool `json:"enableDdosProtection,omitempty"`

	// EnableVMProtection - Indicates if VM protection is enabled for all the
	// subnets in the virtual network.
	// +optional
	EnableVMProtection bool `json:"enableVmProtection,omitempty"`
}

VirtualNetworkPropertiesFormat defines properties of a VirtualNetwork.

func (*VirtualNetworkPropertiesFormat) DeepCopy

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

func (*VirtualNetworkPropertiesFormat) DeepCopyInto

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

type VirtualNetworkSpec

type VirtualNetworkSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`

	// Name - Name of the Virtual Network.
	Name string `json:"name"`

	// ResourceGroupName - Name of the Virtual Network's resource group.
	ResourceGroupName string `json:"resourceGroupName,omitempty"`

	// ResourceGroupNameRef - A reference to the the Virtual Network's resource group.
	ResourceGroupNameRef *ResourceGroupNameReferencerForVirtualNetwork `json:"resourceGroupNameRef,omitempty" resource:"attributereferencer"`

	// VirtualNetworkPropertiesFormat - Properties of the virtual network.
	VirtualNetworkPropertiesFormat `json:"properties"`

	// Location - Resource location.
	Location string `json:"location"`

	// Tags - Resource tags.
	// +optional
	Tags map[string]string `json:"tags,omitempty"`
}

A VirtualNetworkSpec defines the desired state of a VirtualNetwork.

func (*VirtualNetworkSpec) DeepCopy

func (in *VirtualNetworkSpec) DeepCopy() *VirtualNetworkSpec

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

func (*VirtualNetworkSpec) DeepCopyInto

func (in *VirtualNetworkSpec) DeepCopyInto(out *VirtualNetworkSpec)

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

type VirtualNetworkStatus

type VirtualNetworkStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`

	// State of this VirtualNetwork.
	State string `json:"state,omitempty"`

	// A Message providing detail about the state of this VirtualNetwork, if
	// any.
	Message string `json:"message,omitempty"`

	// ID of this VirtualNetwork.
	ID string `json:"id,omitempty"`

	// Etag - A unique read-only string that changes whenever the resource is
	// updated.
	Etag string `json:"etag,omitempty"`

	// ResourceGUID - The GUID of this VirtualNetwork.
	ResourceGUID string `json:"resourceGuid,omitempty"`

	// Type of this VirtualNetwork.
	Type string `json:"type,omitempty"`
}

A VirtualNetworkStatus represents the observed state of a VirtualNetwork.

func (*VirtualNetworkStatus) DeepCopy

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

func (*VirtualNetworkStatus) DeepCopyInto

func (in *VirtualNetworkStatus) DeepCopyInto(out *VirtualNetworkStatus)

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