Documentation
¶
Overview ¶
+k8s:deepcopy-gen=package,register +groupName=kubernikus.sap.cc
Index ¶
- Constants
- func SortFlavors(flavors []Flavor)
- type APIVersions
- type Binaries
- type Credentials
- type Error
- type Event
- type Flavor
- type Info
- type KeyPair
- type Kluster
- func (in *Kluster) DeepCopy() *Kluster
- func (in *Kluster) DeepCopyInto(out *Kluster)
- func (k Kluster) GetFormats() map[printers.PrintFormat]struct{}
- func (m *Kluster) MarshalBinary() ([]byte, error)
- func (k Kluster) Print(format printers.PrintFormat, options printers.PrintOptions) error
- func (m *Kluster) UnmarshalBinary(b []byte) error
- func (m *Kluster) Validate(formats strfmt.Registry) error
- type KlusterInfo
- type KlusterPhase
- type KlusterSpec
- type KlusterStatus
- type Link
- type Network
- type NodePool
- func (in *NodePool) DeepCopy() *NodePool
- func (in *NodePool) DeepCopyInto(out *NodePool)
- func (p NodePool) GetFormats() map[printers.PrintFormat]struct{}
- func (m *NodePool) MarshalBinary() ([]byte, error)
- func (p NodePool) Print(format printers.PrintFormat, options printers.PrintOptions) error
- func (m *NodePool) UnmarshalBinary(b []byte) error
- func (m *NodePool) Validate(formats strfmt.Registry) error
- type NodePoolConfig
- type NodePoolInfo
- type OpenstackMetadata
- func (in *OpenstackMetadata) DeepCopy() *OpenstackMetadata
- func (in *OpenstackMetadata) DeepCopyInto(out *OpenstackMetadata)
- func (m *OpenstackMetadata) MarshalBinary() ([]byte, error)
- func (m *OpenstackMetadata) UnmarshalBinary(b []byte) error
- func (m *OpenstackMetadata) Validate(formats strfmt.Registry) error
- type OpenstackSpec
- type Principal
- type Router
- type SecurityGroup
- type Subnet
Constants ¶
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
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Binaries.
func (*Binaries) DeepCopyInto ¶ added in v1.5.0
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
MarshalBinary interface implementation
func (*Binaries) UnmarshalBinary ¶ added in v1.2.0
UnmarshalBinary interface implementation
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
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Error.
func (*Error) DeepCopyInto ¶ added in v1.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
func (*Event) DeepCopyInto ¶ added in v1.5.0
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
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶ added in v1.2.0
UnmarshalBinary interface implementation
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Flavor.
func (*Flavor) DeepCopyInto ¶ added in v1.5.0
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
MarshalBinary interface implementation
func (*Flavor) UnmarshalBinary ¶ added in v1.2.0
UnmarshalBinary interface implementation
type Info ¶
type Info struct {
// version
Version string `json:"version,omitempty"`
}
Info info swagger:model Info
func (*Info) DeepCopy ¶ added in v1.5.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Info.
func (*Info) DeepCopyInto ¶ added in v1.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Info) MarshalBinary ¶
MarshalBinary interface implementation
func (*Info) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyPair.
func (*KeyPair) DeepCopyInto ¶ added in v1.5.0
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
MarshalBinary interface implementation
func (*KeyPair) UnmarshalBinary ¶ added in v1.2.0
UnmarshalBinary interface implementation
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kluster.
func (*Kluster) DeepCopyInto ¶ added in v1.5.0
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
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
UnmarshalBinary interface implementation
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
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" )
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
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
type Link ¶ added in v1.2.0
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Link.
func (*Link) DeepCopyInto ¶ added in v1.5.0
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
MarshalBinary interface implementation
func (*Link) UnmarshalBinary ¶ added in v1.2.0
UnmarshalBinary interface implementation
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Network.
func (*Network) DeepCopyInto ¶ added in v1.5.0
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
MarshalBinary interface implementation
func (*Network) UnmarshalBinary ¶ added in v1.2.0
UnmarshalBinary interface implementation
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodePool.
func (*NodePool) DeepCopyInto ¶ added in v1.5.0
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
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
UnmarshalBinary interface implementation
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
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
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
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
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Principal.
func (*Principal) DeepCopyInto ¶ added in v1.5.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Router.
func (*Router) DeepCopyInto ¶ added in v1.5.0
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
MarshalBinary interface implementation
func (*Router) UnmarshalBinary ¶ added in v1.2.0
UnmarshalBinary interface implementation
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
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Subnet.
func (*Subnet) DeepCopyInto ¶ added in v1.5.0
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
MarshalBinary interface implementation
func (*Subnet) UnmarshalBinary ¶ added in v1.2.0
UnmarshalBinary interface implementation