v1alpha1

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	StateAvailable = "Available"
	StateReady     = "Ready"
	StateUp        = "Up"
	StateError     = "Error"
	StateInvalid   = "Invalid"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Availability

type Availability []RegionAvailability

func (Availability) DeepCopy

func (in Availability) DeepCopy() Availability

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

func (Availability) DeepCopyInto

func (in Availability) DeepCopyInto(out *Availability)

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

type Cidr

type Cidr string

TODO: create marshal/unmarshal functions

type IPAddr

type IPAddr string

TODO: create marshal/unmarshal functions

type KindReference

type KindReference struct {
	// Kind is the kind of the object
	Kind string `json:"kind"`
	// APIGroup is the API group of the object
	APIGroup       string `json:"apiGroup"`
	ScopeReference `json:",inline"`
}

KindReference defines an object with its kind and API group and its scope reference

type Location added in v0.0.5

type Location struct {
	// Region defines the region of a resource
	Region string `json:"region"`
	// AvailabilityZone is the availability zone of a resource
	//+optional
	AvailabilityZone string `json:"availabilityZone,omitempty"`
}

Location describes the location of a resource

func (*Location) DeepCopy added in v0.0.5

func (in *Location) DeepCopy() *Location

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

func (*Location) DeepCopyInto added in v0.0.5

func (in *Location) DeepCopyInto(out *Location)

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

type RegionAvailability

type RegionAvailability struct {
	// Region is the name of the region
	Region string `json:"region"`
	// Zones is a list of zones in this region
	//+optional
	Zones []ZoneAvailability `json:"availabilityZones,omitempty"`
}

RegionAvailability defines a region with its availability zones

func (*RegionAvailability) DeepCopy

func (in *RegionAvailability) DeepCopy() *RegionAvailability

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

func (*RegionAvailability) DeepCopyInto

func (in *RegionAvailability) DeepCopyInto(out *RegionAvailability)

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

type ScopeReference

type ScopeReference struct {
	// Name is the name of the scope
	Name string `json:"name"`
	// Scope is the absolute scope path
	//+optional
	Scope string `json:"scope,omitempty"`
}

ScopeReference refers to a scope and the scopes name

func (*ScopeReference) DeepCopy

func (in *ScopeReference) DeepCopy() *ScopeReference

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

func (*ScopeReference) DeepCopyInto

func (in *ScopeReference) DeepCopyInto(out *ScopeReference)

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

type StateFields

type StateFields struct {
	// State indicates the state of a resource
	//+optional
	State string `json:"state,omitempty"`
	// Message contains a message for the corresponding state
	//+optional
	Message string `json:"message,omitempty"`
	// Conditions represents the status for individual operators
	//+optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

StateFields defines the observed state of an object

func (*StateFields) DeepCopy added in v0.0.5

func (in *StateFields) DeepCopy() *StateFields

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

func (*StateFields) DeepCopyInto added in v0.0.5

func (in *StateFields) DeepCopyInto(out *StateFields)

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

type ZoneAvailability

type ZoneAvailability struct {
	// Name is the name of the availability zone
	Name string `json:"name"`
}

ZoneAvailability defines the name of a zone

func (*ZoneAvailability) DeepCopy

func (in *ZoneAvailability) DeepCopy() *ZoneAvailability

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

func (*ZoneAvailability) DeepCopyInto

func (in *ZoneAvailability) DeepCopyInto(out *ZoneAvailability)

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