v1beta1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Overview

Package v1beta1 contains the input type for this Function +kubebuilder:object:generate=true +groupName=networkdiscovery.fn.giantswarm.io +versionName=v1beta1

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	metav1.TypeMeta `json:",inline"`

	metav1.ObjectMeta `json:"metadata,omitempty"`

	// Defines the spec for this input
	Spec *Spec `json:"spec,omitempty"`
}

Input can be used to provide input to this Function. +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:resource:categories=crossplane

func (*Input) DeepCopy

func (in *Input) DeepCopy() *Input

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

func (*Input) DeepCopyInto

func (in *Input) DeepCopyInto(out *Input)

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

func (*Input) DeepCopyObject

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

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

type RemoteVpc

type RemoteVpc struct {
	// The VPC name
	Name string `json:"name"`

	// GroupBy is an AWS tag name that is used to group subnet and route table
	// results into logical "sets" of data
	GroupBy string `json:"groupBy"`

	// The VPC region
	Region string `json:"region"`

	// The VPC provider config
	ProviderConfigRef xpv1.Reference `json:"providerConfigRef"`
}

func (*RemoteVpc) DeepCopy

func (in *RemoteVpc) DeepCopy() *RemoteVpc

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

func (*RemoteVpc) DeepCopyInto

func (in *RemoteVpc) DeepCopyInto(out *RemoteVpc)

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

type Spec

type Spec struct {
	// EnabledRef A path to a field on the claim that determines if this function
	// is enabled in the current composition allowing for conditional execution
	// of the function in complex compositions
	//
	// +optional
	EnabledRef string `json:"enabledRef,omitempty"`

	// GroupByRef A path to the field on the claim that determines the grouping
	// of the subnets and route tables in the VPC
	//
	// +optional
	GroupByRef string `json:"groupByRef,omitempty"`

	// PatchTo specified the path to apply the VPC map
	//
	// +required
	PatchTo string `json:"patchTo"`

	// ProviderConfig A path to the provider config in the Claim
	//
	// +required
	ProviderConfigRef string `json:"providerConfigRef"`

	// ProviderType dictates what cloud provider the discovery is working against
	//
	// +kubebuilder:validation:Enum=aws;azure;gcp
	// +kubebuilder:default=aws
	// +optional
	ProviderType string `json:"providerType"`

	// Region A path to the region in the Claim
	//
	// +required
	RegionRef string `json:"regionRef"`

	// VpcName A path to the VPC name in the Claim
	//
	// +required
	VpcNameRef string `json:"vpcRef"`
}

Spec - Defines the spec given to this input type, providing the required, and optional elements that may be defined

func (*Spec) DeepCopy

func (in *Spec) DeepCopy() *Spec

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

func (*Spec) DeepCopyInto

func (in *Spec) DeepCopyInto(out *Spec)

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