models

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2018 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Overview

+k8s:deepcopy-gen=package,register +groupName=kubernikus.sap.cc

Index

Constants

View Source
const (
	// EventTypeNormal captures enum value "Normal"
	EventTypeNormal string = "Normal"
	// EventTypeWarning captures enum value "Warning"
	EventTypeWarning string = "Warning"
)

Variables

This section is empty.

Functions

func SortFlavors added in v1.5.0

func SortFlavors(flavors []Flavor)

Types

type APIVersions

type APIVersions struct {

	// versions are the api versions that are available.
	// Required: true
	Versions []string `json:"versions"`
}

APIVersions Api versions swagger:model ApiVersions

func (*APIVersions) DeepCopy added in v1.5.0

func (in *APIVersions) DeepCopy() *APIVersions

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

func (*APIVersions) DeepCopyInto added in v1.5.0

func (in *APIVersions) DeepCopyInto(out *APIVersions)

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

func (*APIVersions) MarshalBinary

func (m *APIVersions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIVersions) UnmarshalBinary

func (m *APIVersions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIVersions) Validate

func (m *APIVersions) Validate(formats strfmt.Registry) error

Validate validates this Api versions

type Binaries added in v1.2.0

type Binaries struct {

	// links
	Links []Link `json:"links"`

	// name
	Name string `json:"name,omitempty"`
}

Binaries binaries swagger:model Binaries

func (*Binaries) DeepCopy added in v1.5.0

func (in *Binaries) DeepCopy() *Binaries

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

func (*Binaries) DeepCopyInto added in v1.5.0

func (in *Binaries) DeepCopyInto(out *Binaries)

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

func (*Binaries) MarshalBinary added in v1.2.0

func (m *Binaries) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Binaries) UnmarshalBinary added in v1.2.0

func (m *Binaries) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Binaries) Validate added in v1.2.0

func (m *Binaries) Validate(formats strfmt.Registry) error

Validate validates this binaries

type Credentials

type Credentials struct {

	// kubeconfig
	Kubeconfig string `json:"kubeconfig,omitempty"`
}

Credentials credentials swagger:model Credentials

func (*Credentials) DeepCopy added in v1.5.0

func (in *Credentials) DeepCopy() *Credentials

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

func (*Credentials) DeepCopyInto added in v1.5.0

func (in *Credentials) DeepCopyInto(out *Credentials)

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

func (*Credentials) MarshalBinary

func (m *Credentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Credentials) UnmarshalBinary

func (m *Credentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Credentials) Validate

func (m *Credentials) Validate(formats strfmt.Registry) error

Validate validates this credentials

type Error

type Error struct {

	// The error code
	// Required: true
	Code *int64 `json:"code"`

	// link to help page explaining the error in more detail
	HelpURL strfmt.URI `json:"helpUrl,omitempty"`

	// The error message
	// Required: true
	Message *string `json:"message"`
}

Error the error model is a model for all the error responses coming from Kubernikus

swagger:model error

func (*Error) DeepCopy added in v1.5.0

func (in *Error) DeepCopy() *Error

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

func (*Error) DeepCopyInto added in v1.5.0

func (in *Error) DeepCopyInto(out *Error)

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

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type Event added in v1.2.0

type Event struct {

	// The number of times this event has occurred.
	Count int64 `json:"count"`

	// The time at which the event was first recorded
	FirstTimestamp string `json:"firstTimestamp,omitempty"`

	// The time at which the most recent occurrence of this event was recorded
	LastTimestamp string `json:"lastTimestamp,omitempty"`

	// A human-readable description of the event
	Message string `json:"message,omitempty"`

	// A short, machine understandable string that gives the reason for the event
	Reason string `json:"reason,omitempty"`

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

Event event swagger:model Event

func (*Event) DeepCopy added in v1.5.0

func (in *Event) DeepCopy() *Event

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

func (*Event) DeepCopyInto added in v1.5.0

func (in *Event) DeepCopyInto(out *Event)

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

func (*Event) MarshalBinary added in v1.2.0

func (m *Event) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Event) UnmarshalBinary added in v1.2.0

func (m *Event) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Event) Validate added in v1.2.0

func (m *Event) Validate(formats strfmt.Registry) error

Validate validates this event

type Flavor added in v1.2.0

type Flavor struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// ram
	RAM int64 `json:"ram"`

	// vcpus
	Vcpus int64 `json:"vcpus"`
}

Flavor flavor swagger:model Flavor

func (*Flavor) DeepCopy added in v1.5.0

func (in *Flavor) DeepCopy() *Flavor

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

func (*Flavor) DeepCopyInto added in v1.5.0

func (in *Flavor) DeepCopyInto(out *Flavor)

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

func (*Flavor) MarshalBinary added in v1.2.0

func (m *Flavor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Flavor) UnmarshalBinary added in v1.2.0

func (m *Flavor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Flavor) Validate added in v1.2.0

func (m *Flavor) Validate(formats strfmt.Registry) error

Validate validates this flavor

type Info

type Info struct {

	// version
	Version string `json:"version,omitempty"`
}

Info info swagger:model Info

func (*Info) DeepCopy added in v1.5.0

func (in *Info) DeepCopy() *Info

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

func (*Info) DeepCopyInto added in v1.5.0

func (in *Info) DeepCopyInto(out *Info)

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

func (*Info) MarshalBinary

func (m *Info) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Info) UnmarshalBinary

func (m *Info) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Info) Validate

func (m *Info) Validate(formats strfmt.Registry) error

Validate validates this info

type KeyPair added in v1.2.0

type KeyPair struct {

	// name
	Name string `json:"name,omitempty"`

	// public key
	PublicKey string `json:"publicKey,omitempty"`
}

KeyPair key pair swagger:model KeyPair

func (*KeyPair) DeepCopy added in v1.5.0

func (in *KeyPair) DeepCopy() *KeyPair

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

func (*KeyPair) DeepCopyInto added in v1.5.0

func (in *KeyPair) DeepCopyInto(out *KeyPair)

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

func (*KeyPair) MarshalBinary added in v1.2.0

func (m *KeyPair) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyPair) UnmarshalBinary added in v1.2.0

func (m *KeyPair) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyPair) Validate added in v1.2.0

func (m *KeyPair) Validate(formats strfmt.Registry) error

Validate validates this key pair

type Kluster added in v1.2.0

type Kluster struct {

	// name of the cluster
	// Required: true
	// Pattern: ^[a-z]([-a-z0-9]*[a-z0-9])?$
	Name string `json:"name"`

	// spec
	Spec KlusterSpec `json:"spec,omitempty"`

	// status
	Status KlusterStatus `json:"status,omitempty"`
}

Kluster kluster swagger:model Kluster

func (*Kluster) DeepCopy added in v1.5.0

func (in *Kluster) DeepCopy() *Kluster

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

func (*Kluster) DeepCopyInto added in v1.5.0

func (in *Kluster) DeepCopyInto(out *Kluster)

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

func (Kluster) GetFormats added in v1.2.0

func (k Kluster) GetFormats() map[printers.PrintFormat]struct{}

func (*Kluster) MarshalBinary added in v1.2.0

func (m *Kluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Kluster) Print added in v1.2.0

func (k Kluster) Print(format printers.PrintFormat, options printers.PrintOptions) error

func (*Kluster) UnmarshalBinary added in v1.2.0

func (m *Kluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Kluster) Validate added in v1.2.0

func (m *Kluster) Validate(formats strfmt.Registry) error

Validate validates this kluster

type KlusterInfo added in v1.2.0

type KlusterInfo struct {

	// binaries
	Binaries []Binaries `json:"binaries"`

	// setup command
	SetupCommand string `json:"setupCommand,omitempty"`
}

KlusterInfo kluster info swagger:model KlusterInfo

func (*KlusterInfo) DeepCopy added in v1.5.0

func (in *KlusterInfo) DeepCopy() *KlusterInfo

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

func (*KlusterInfo) DeepCopyInto added in v1.5.0

func (in *KlusterInfo) DeepCopyInto(out *KlusterInfo)

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

func (*KlusterInfo) MarshalBinary added in v1.2.0

func (m *KlusterInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KlusterInfo) UnmarshalBinary added in v1.2.0

func (m *KlusterInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KlusterInfo) Validate added in v1.2.0

func (m *KlusterInfo) Validate(formats strfmt.Registry) error

Validate validates this kluster info

type KlusterPhase added in v1.2.0

type KlusterPhase string

KlusterPhase kluster phase swagger:model KlusterPhase

const (
	// KlusterPhasePending captures enum value "Pending"
	KlusterPhasePending KlusterPhase = "Pending"
	// KlusterPhaseCreating captures enum value "Creating"
	KlusterPhaseCreating KlusterPhase = "Creating"
	// KlusterPhaseRunning captures enum value "Running"
	KlusterPhaseRunning KlusterPhase = "Running"
	// KlusterPhaseTerminating captures enum value "Terminating"
	KlusterPhaseTerminating KlusterPhase = "Terminating"
)

func (KlusterPhase) Validate added in v1.2.0

func (m KlusterPhase) Validate(formats strfmt.Registry) error

Validate validates this kluster phase

type KlusterSpec added in v1.2.0

type KlusterSpec struct {

	// advertise address
	AdvertiseAddress string `json:"advertiseAddress,omitempty"`

	// CIDR Range for Pods in the cluster. Can not be updated.
	// Pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$
	ClusterCIDR string `json:"clusterCIDR,omitempty"`

	// dns address
	DNSAddress string `json:"dnsAddress,omitempty"`

	// dns domain
	DNSDomain string `json:"dnsDomain,omitempty"`

	// name
	// Read Only: true
	Name string `json:"name,omitempty"`

	// node pools
	NodePools []NodePool `json:"nodePools"`

	// openstack
	Openstack OpenstackSpec `json:"openstack,omitempty"`

	// CIDR Range for Services in the cluster. Can not be updated.
	// Pattern: ^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$
	ServiceCIDR string `json:"serviceCIDR,omitempty"`

	// SSH public key that is injected into spawned nodes.
	SSHPublicKey string `json:"sshPublicKey,omitempty"`

	// version
	// Read Only: true
	// Pattern: ^[0-9]+\.[0-9]+\.[0-9]+$
	Version string `json:"version,omitempty"`
}

KlusterSpec kluster spec swagger:model KlusterSpec

func (*KlusterSpec) DeepCopy added in v1.5.0

func (in *KlusterSpec) DeepCopy() *KlusterSpec

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

func (*KlusterSpec) DeepCopyInto added in v1.5.0

func (in *KlusterSpec) DeepCopyInto(out *KlusterSpec)

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

func (*KlusterSpec) MarshalBinary added in v1.2.0

func (m *KlusterSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KlusterSpec) UnmarshalBinary added in v1.2.0

func (m *KlusterSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KlusterSpec) Validate added in v1.2.0

func (m *KlusterSpec) Validate(formats strfmt.Registry) error

Validate validates this kluster spec

type KlusterStatus added in v1.2.0

type KlusterStatus struct {

	// apiserver
	Apiserver string `json:"apiserver,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// node pools
	NodePools []NodePoolInfo `json:"nodePools"`

	// phase
	Phase KlusterPhase `json:"phase,omitempty"`

	// version
	Version string `json:"version,omitempty"`

	// wormhole
	Wormhole string `json:"wormhole,omitempty"`
}

KlusterStatus kluster status swagger:model KlusterStatus

func (*KlusterStatus) DeepCopy added in v1.5.0

func (in *KlusterStatus) DeepCopy() *KlusterStatus

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

func (*KlusterStatus) DeepCopyInto added in v1.5.0

func (in *KlusterStatus) DeepCopyInto(out *KlusterStatus)

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

func (*KlusterStatus) MarshalBinary added in v1.2.0

func (m *KlusterStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KlusterStatus) UnmarshalBinary added in v1.2.0

func (m *KlusterStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KlusterStatus) Validate added in v1.2.0

func (m *KlusterStatus) Validate(formats strfmt.Registry) error

Validate validates this kluster status

type Link struct {

	// link
	Link string `json:"link,omitempty"`

	// platform
	Platform string `json:"platform,omitempty"`
}

Link link swagger:model Link

func (*Link) DeepCopy added in v1.5.0

func (in *Link) DeepCopy() *Link

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

func (*Link) DeepCopyInto added in v1.5.0

func (in *Link) DeepCopyInto(out *Link)

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

func (*Link) MarshalBinary added in v1.2.0

func (m *Link) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Link) UnmarshalBinary added in v1.2.0

func (m *Link) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Link) Validate added in v1.2.0

func (m *Link) Validate(formats strfmt.Registry) error

Validate validates this link

type Network added in v1.2.0

type Network struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// subnets
	Subnets []*Subnet `json:"subnets"`
}

Network network swagger:model Network

func (*Network) DeepCopy added in v1.5.0

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto added in v1.5.0

func (in *Network) DeepCopyInto(out *Network)

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

func (*Network) MarshalBinary added in v1.2.0

func (m *Network) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Network) UnmarshalBinary added in v1.2.0

func (m *Network) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Network) Validate added in v1.2.0

func (m *Network) Validate(formats strfmt.Registry) error

Validate validates this network

type NodePool added in v1.2.0

type NodePool struct {

	// config
	Config NodePoolConfig `json:"config,omitempty"`

	// flavor
	// Required: true
	Flavor string `json:"flavor"`

	// image
	Image string `json:"image,omitempty"`

	// name
	// Required: true
	// Pattern: ^[a-z]([a-z0-9]*)?$
	Name string `json:"name"`

	// size
	// Maximum: 127
	// Minimum: 0
	Size int64 `json:"size"`
}

NodePool node pool swagger:model NodePool

func (*NodePool) DeepCopy added in v1.5.0

func (in *NodePool) DeepCopy() *NodePool

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

func (*NodePool) DeepCopyInto added in v1.5.0

func (in *NodePool) DeepCopyInto(out *NodePool)

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

func (NodePool) GetFormats added in v1.2.0

func (p NodePool) GetFormats() map[printers.PrintFormat]struct{}

func (*NodePool) MarshalBinary added in v1.2.0

func (m *NodePool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (NodePool) Print added in v1.2.0

func (p NodePool) Print(format printers.PrintFormat, options printers.PrintOptions) error

func (*NodePool) UnmarshalBinary added in v1.2.0

func (m *NodePool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NodePool) Validate added in v1.2.0

func (m *NodePool) Validate(formats strfmt.Registry) error

Validate validates this node pool

type NodePoolConfig added in v1.2.0

type NodePoolConfig struct {

	// repair
	Repair bool `json:"repair,omitempty"`

	// upgrade
	Upgrade bool `json:"upgrade,omitempty"`
}

NodePoolConfig node pool config swagger:model NodePoolConfig

func (*NodePoolConfig) DeepCopy added in v1.5.0

func (in *NodePoolConfig) DeepCopy() *NodePoolConfig

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

func (*NodePoolConfig) DeepCopyInto added in v1.5.0

func (in *NodePoolConfig) DeepCopyInto(out *NodePoolConfig)

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

func (*NodePoolConfig) MarshalBinary added in v1.2.0

func (m *NodePoolConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NodePoolConfig) UnmarshalBinary added in v1.2.0

func (m *NodePoolConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NodePoolConfig) Validate added in v1.2.0

func (m *NodePoolConfig) Validate(formats strfmt.Registry) error

Validate validates this node pool config

type NodePoolInfo added in v1.2.0

type NodePoolInfo struct {

	// healthy
	Healthy int64 `json:"healthy"`

	// name
	Name string `json:"name,omitempty"`

	// running
	Running int64 `json:"running"`

	// schedulable
	Schedulable int64 `json:"schedulable"`

	// size
	Size int64 `json:"size"`
}

NodePoolInfo node pool info swagger:model NodePoolInfo

func (*NodePoolInfo) DeepCopy added in v1.5.0

func (in *NodePoolInfo) DeepCopy() *NodePoolInfo

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

func (*NodePoolInfo) DeepCopyInto added in v1.5.0

func (in *NodePoolInfo) DeepCopyInto(out *NodePoolInfo)

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

func (*NodePoolInfo) MarshalBinary added in v1.2.0

func (m *NodePoolInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NodePoolInfo) UnmarshalBinary added in v1.2.0

func (m *NodePoolInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NodePoolInfo) Validate added in v1.2.0

func (m *NodePoolInfo) Validate(formats strfmt.Registry) error

Validate validates this node pool info

type OpenstackMetadata added in v1.2.0

type OpenstackMetadata struct {

	// flavors
	Flavors []Flavor `json:"flavors"`

	// key pairs
	KeyPairs []*KeyPair `json:"keyPairs"`

	// routers
	Routers []*Router `json:"routers"`

	// security groups
	SecurityGroups []*SecurityGroup `json:"securityGroups"`
}

OpenstackMetadata openstack metadata swagger:model OpenstackMetadata

func (*OpenstackMetadata) DeepCopy added in v1.5.0

func (in *OpenstackMetadata) DeepCopy() *OpenstackMetadata

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

func (*OpenstackMetadata) DeepCopyInto added in v1.5.0

func (in *OpenstackMetadata) DeepCopyInto(out *OpenstackMetadata)

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

func (*OpenstackMetadata) MarshalBinary added in v1.2.0

func (m *OpenstackMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenstackMetadata) UnmarshalBinary added in v1.2.0

func (m *OpenstackMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenstackMetadata) Validate added in v1.2.0

func (m *OpenstackMetadata) Validate(formats strfmt.Registry) error

Validate validates this openstack metadata

type OpenstackSpec added in v1.2.0

type OpenstackSpec struct {

	// l b floating network ID
	LBFloatingNetworkID string `json:"lbFloatingNetworkID,omitempty"`

	// l b subnet ID
	LBSubnetID string `json:"lbSubnetID,omitempty"`

	// network ID
	NetworkID string `json:"networkID,omitempty"`

	// project ID
	ProjectID string `json:"projectID,omitempty"`

	// router ID
	RouterID string `json:"routerID,omitempty"`

	// security group name
	SecurityGroupName string `json:"securityGroupName,omitempty"`
}

OpenstackSpec openstack spec swagger:model OpenstackSpec

func (*OpenstackSpec) DeepCopy added in v1.5.0

func (in *OpenstackSpec) DeepCopy() *OpenstackSpec

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

func (*OpenstackSpec) DeepCopyInto added in v1.5.0

func (in *OpenstackSpec) DeepCopyInto(out *OpenstackSpec)

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

func (*OpenstackSpec) MarshalBinary added in v1.2.0

func (m *OpenstackSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenstackSpec) UnmarshalBinary added in v1.2.0

func (m *OpenstackSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenstackSpec) Validate added in v1.2.0

func (m *OpenstackSpec) Validate(formats strfmt.Registry) error

Validate validates this openstack spec

type Principal

type Principal struct {

	// account id
	Account string `json:"account,omitempty"`

	// Identity Endpoint
	AuthURL string `json:"authUrl,omitempty"`

	// user's domain name
	Domain string `json:"domain,omitempty"`

	// userid
	ID string `json:"id,omitempty"`

	// username
	Name string `json:"name,omitempty"`

	// list of roles the user has in the given scope
	Roles []string `json:"roles"`
}

Principal principal swagger:model Principal

func (*Principal) DeepCopy added in v1.5.0

func (in *Principal) DeepCopy() *Principal

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

func (*Principal) DeepCopyInto added in v1.5.0

func (in *Principal) DeepCopyInto(out *Principal)

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

func (*Principal) MarshalBinary

func (m *Principal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Principal) UnmarshalBinary

func (m *Principal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Principal) Validate

func (m *Principal) Validate(formats strfmt.Registry) error

Validate validates this principal

type Router added in v1.2.0

type Router struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// networks
	Networks []*Network `json:"networks"`
}

Router router swagger:model Router

func (*Router) DeepCopy added in v1.5.0

func (in *Router) DeepCopy() *Router

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

func (*Router) DeepCopyInto added in v1.5.0

func (in *Router) DeepCopyInto(out *Router)

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

func (*Router) MarshalBinary added in v1.2.0

func (m *Router) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Router) UnmarshalBinary added in v1.2.0

func (m *Router) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Router) Validate added in v1.2.0

func (m *Router) Validate(formats strfmt.Registry) error

Validate validates this router

type SecurityGroup added in v1.2.0

type SecurityGroup struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

SecurityGroup security group swagger:model SecurityGroup

func (*SecurityGroup) DeepCopy added in v1.5.0

func (in *SecurityGroup) DeepCopy() *SecurityGroup

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

func (*SecurityGroup) DeepCopyInto added in v1.5.0

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) MarshalBinary added in v1.2.0

func (m *SecurityGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityGroup) UnmarshalBinary added in v1.2.0

func (m *SecurityGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityGroup) Validate added in v1.2.0

func (m *SecurityGroup) Validate(formats strfmt.Registry) error

Validate validates this security group

type Subnet added in v1.2.0

type Subnet struct {

	// c ID r
	CIDR string `json:"CIDR,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

Subnet subnet swagger:model Subnet

func (*Subnet) DeepCopy added in v1.5.0

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto added in v1.5.0

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) MarshalBinary added in v1.2.0

func (m *Subnet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Subnet) UnmarshalBinary added in v1.2.0

func (m *Subnet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Subnet) Validate added in v1.2.0

func (m *Subnet) Validate(formats strfmt.Registry) error

Validate validates this subnet

Jump to

Keyboard shortcuts

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