Documentation
¶
Index ¶
- Constants
- type AWSInstance
- type AWSInstanceConfiguration
- type AWSInternetGateway
- type AWSInternetGatewayConfiguration
- type AWSMainRouteTableAssociation
- type AWSMainRouteTableAssociationConfiguration
- type AWSRoute
- type AWSRouteTable
- type AWSRouteTableConfiguration
- type AWSSecurityGroup
- type AWSSecurityGroupConfiguration
- type AWSSubnet
- type AWSSubnetConfiguration
- type AWSTrafficRule
- type AWSVPC
- type AWSVPCConfiguration
- type AutoscalingPolicy
- type AzureRMAvailabilitySet
- type AzureRMAvailabilitySetConfiguration
- type AzureRMNetworkSecurityGroup
- type AzureRMNetworkSecurityGroupConfiguration
- type AzureRMNetworkSecurityRule
- type AzureRMResourceGroup
- type AzureRMResourceGroupConfiguration
- type AzureRMSSHKey
- type AzureRMSubnet
- type AzureRMSubnetConfiguration
- type AzureRMVirtualMachine
- type AzureRMVirtualMachineConfiguration
- type AzureRMVirtualMachineOSProfile
- type AzureRMVirtualMachineOSProfileLinuxConfig
- type AzureRMVirtualMachineStorageDataDisk
- type AzureRMVirtualMachineStorageImageReference
- type AzureRMVirtualMachineStorageOSDisk
- type AzureRMVirtualNetwork
- type AzureRMVirtualNetworkConfiguration
- type CKECluster
- type CKEClusterConfiguration
- type CKEClusterStatus
- type CKEClusters
- type CreateCKEClusterPlugin
- type CreateCKEClusterPlugins
- type CreateCKEClusterRequest
- type CreateTemplateRequest
- type DigitalOceanDropletConfiguration
- type DigitalOceanDropletMap
- type Error
- type GoogleComputeBootDiskConfiguration
- type GoogleComputeBootDiskConfigurationInitializeParams
- type GoogleComputeFirewall
- type GoogleComputeFirewallConfiguration
- type GoogleComputeInstance
- type GoogleComputeInstanceConfiguration
- type GoogleComputeNetwork
- type GoogleComputeNetworkConfiguration
- type GoogleComputeNetworkInterface
- type GoogleComputeServiceAccount
- type GoogleComputeSubnetwork
- type GoogleComputeSubnetworkConfiguration
- type IDResponse
- type Node
- type NodeAddresses
- type NodePool
- type NodePoolAutoscaling
- type NodePoolAutoscalingScalingStrategy
- type NodePoolCreateRequest
- type NodePoolDigitalOceanCreateRequest
- type NodePoolLabel
- type NodePoolLabels
- type NodePoolScaleRequest
- type NodePoolStatus
- type NodePoolUpgradeRequest
- type NodePools
- type NodeStatus
- type Nodes
- type PacketDeviceConfiguration
- type PacketDeviceMap
- type ScalingPolicy
- type ScalingPolicyConfiguration
- type Template
- type TemplateConfiguration
- type TemplateNodePool
- type TemplateProvider
- type TemplateProviderConfiguration
- type TemplateResource
- type TemplateVariableDefault
- type TemplateVariableMap
- type Templates
- type UUID
Constants ¶
const ( // CreateCKEClusterPluginTypeClusterManagement captures enum value "cluster_management" CreateCKEClusterPluginTypeClusterManagement string = "cluster_management" // CreateCKEClusterPluginTypeMetrics captures enum value "metrics" CreateCKEClusterPluginTypeMetrics string = "metrics" // CreateCKEClusterPluginTypeLogs captures enum value "logs" CreateCKEClusterPluginTypeLogs string = "logs" // CreateCKEClusterPluginTypeCni captures enum value "cni" CreateCKEClusterPluginTypeCni string = "cni" // CreateCKEClusterPluginTypeCsi captures enum value "csi" CreateCKEClusterPluginTypeCsi string = "csi" // CreateCKEClusterPluginTypeCloudControllerManager captures enum value "cloud_controller_manager" CreateCKEClusterPluginTypeCloudControllerManager string = "cloud_controller_manager" // CreateCKEClusterPluginTypeAutoscaler captures enum value "autoscaler" CreateCKEClusterPluginTypeAutoscaler string = "autoscaler" // CreateCKEClusterPluginTypeGpuDevice captures enum value "gpu_device" CreateCKEClusterPluginTypeGpuDevice string = "gpu_device" // CreateCKEClusterPluginTypeAuditLogs captures enum value "audit_logs" CreateCKEClusterPluginTypeAuditLogs string = "audit_logs" )
const ( // CreateTemplateRequestProviderNameDigitalOcean captures enum value "digital_ocean" CreateTemplateRequestProviderNameDigitalOcean string = "digital_ocean" // CreateTemplateRequestProviderNameAzure captures enum value "azure" CreateTemplateRequestProviderNameAzure string = "azure" // CreateTemplateRequestProviderNameGoogle captures enum value "google" CreateTemplateRequestProviderNameGoogle string = "google" // CreateTemplateRequestProviderNameAmazonWebServices captures enum value "amazon_web_services" CreateTemplateRequestProviderNameAmazonWebServices string = "amazon_web_services" // CreateTemplateRequestProviderNamePacket captures enum value "packet" CreateTemplateRequestProviderNamePacket string = "packet" )
const ( // NodePoolKubernetesModeMaster captures enum value "master" NodePoolKubernetesModeMaster string = "master" // NodePoolKubernetesModeWorker captures enum value "worker" NodePoolKubernetesModeWorker string = "worker" )
const ( // PacketDeviceConfigurationOperatingSystemCentos7 captures enum value "centos_7" PacketDeviceConfigurationOperatingSystemCentos7 string = "centos_7" // PacketDeviceConfigurationOperatingSystemRhel7 captures enum value "rhel_7" PacketDeviceConfigurationOperatingSystemRhel7 string = "rhel_7" // PacketDeviceConfigurationOperatingSystemUbuntu1604 captures enum value "ubuntu_16_04" PacketDeviceConfigurationOperatingSystemUbuntu1604 string = "ubuntu_16_04" )
const ( // ScalingPolicyConfigurationAdjustmentTypeAbsolute captures enum value "absolute" ScalingPolicyConfigurationAdjustmentTypeAbsolute string = "absolute" // ScalingPolicyConfigurationAdjustmentTypePercent captures enum value "percent" ScalingPolicyConfigurationAdjustmentTypePercent string = "percent" )
const ( // TemplateProviderNameDigitalOcean captures enum value "digital_ocean" TemplateProviderNameDigitalOcean string = "digital_ocean" // TemplateProviderNameAzure captures enum value "azure" TemplateProviderNameAzure string = "azure" // TemplateProviderNameGoogle captures enum value "google" TemplateProviderNameGoogle string = "google" // TemplateProviderNameAmazonWebServices captures enum value "amazon_web_services" TemplateProviderNameAmazonWebServices string = "amazon_web_services" // TemplateProviderNamePacket captures enum value "packet" TemplateProviderNamePacket string = "packet" )
const ( // TemplateNodePoolKubernetesModeMaster captures enum value "master" TemplateNodePoolKubernetesModeMaster string = "master" // TemplateNodePoolKubernetesModeWorker captures enum value "worker" TemplateNodePoolKubernetesModeWorker string = "worker" )
const ( // TemplateNodePoolOsCentos captures enum value "centos" TemplateNodePoolOsCentos string = "centos" // TemplateNodePoolOsRhel captures enum value "rhel" TemplateNodePoolOsRhel string = "rhel" // TemplateNodePoolOsUbuntu captures enum value "ubuntu" TemplateNodePoolOsUbuntu string = "ubuntu" )
const ( // CreateTemplateRequestEngineContainershipKubernetesEngine captures enum value "containership_kubernetes_engine" CreateTemplateRequestEngineContainershipKubernetesEngine string = "containership_kubernetes_engine" )
const ( // TemplateEngineContainershipKubernetesEngine captures enum value "containership_kubernetes_engine" TemplateEngineContainershipKubernetesEngine string = "containership_kubernetes_engine" )
const ( // TemplateNodePoolTypeNodePool captures enum value "node_pool" TemplateNodePoolTypeNodePool string = "node_pool" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSInstance ¶
type AWSInstance map[string]AWSInstanceConfiguration
AWSInstance AWS instance swagger:model AWSInstance
type AWSInstanceConfiguration ¶
type AWSInstanceConfiguration struct {
// AMI for this instance
Ami string `json:"ami,omitempty"`
// Flag indicating whether to associate a public IP with this instance
AssociatePublicIPAddress bool `json:"associate_public_ip_address,omitempty"`
// Availability zone for this instance
AvailabilityZone string `json:"availability_zone,omitempty"`
// Dependencies for this instance
DependsOn []string `json:"depends_on"`
// AWS instance type
InstanceType string `json:"instance_type,omitempty"`
// Name of key pair to use
KeyName string `json:"key_name,omitempty"`
// Subnet this instance belongs to
SubnetID string `json:"subnet_id,omitempty"`
// VPC security group IDs
VpcSecurityGroupIds []string `json:"vpc_security_group_ids"`
}
AWSInstanceConfiguration AWS instance configuration swagger:model AWSInstanceConfiguration
func (*AWSInstanceConfiguration) MarshalBinary ¶
func (m *AWSInstanceConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSInstanceConfiguration) UnmarshalBinary ¶
func (m *AWSInstanceConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSInternetGateway ¶
type AWSInternetGateway map[string]AWSInternetGatewayConfiguration
AWSInternetGateway AWS internet gateway swagger:model AWSInternetGateway
type AWSInternetGatewayConfiguration ¶
type AWSInternetGatewayConfiguration struct {
// AWS tags
Tags interface{} `json:"tags,omitempty"`
// VPC this internet gateway belongs to
VpcID string `json:"vpc_id,omitempty"`
}
AWSInternetGatewayConfiguration AWS internet gateway configuration swagger:model AWSInternetGatewayConfiguration
func (*AWSInternetGatewayConfiguration) MarshalBinary ¶
func (m *AWSInternetGatewayConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSInternetGatewayConfiguration) UnmarshalBinary ¶
func (m *AWSInternetGatewayConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSMainRouteTableAssociation ¶
type AWSMainRouteTableAssociation interface{}
AWSMainRouteTableAssociation AWS internet gateway swagger:model AWSMainRouteTableAssociation
type AWSMainRouteTableAssociationConfiguration ¶
type AWSMainRouteTableAssociationConfiguration struct {
// Route table to associate
RouteTableID string `json:"route_table_id,omitempty"`
// VPC the route table belongs to
VpcID string `json:"vpc_id,omitempty"`
}
AWSMainRouteTableAssociationConfiguration AWS main route table configuration swagger:model AWSMainRouteTableAssociationConfiguration
func (*AWSMainRouteTableAssociationConfiguration) MarshalBinary ¶
func (m *AWSMainRouteTableAssociationConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSMainRouteTableAssociationConfiguration) UnmarshalBinary ¶
func (m *AWSMainRouteTableAssociationConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSRoute ¶
type AWSRoute struct {
// CIDR block
CidrBlock string `json:"cidr_block,omitempty"`
// Gateway ID
GatewayID string `json:"gateway_id,omitempty"`
}
AWSRoute AWS route swagger:model AWSRoute
func (*AWSRoute) MarshalBinary ¶
MarshalBinary interface implementation
func (*AWSRoute) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AWSRouteTable ¶
type AWSRouteTable map[string]AWSRouteTableConfiguration
AWSRouteTable AWS route table swagger:model AWSRouteTable
type AWSRouteTableConfiguration ¶
type AWSRouteTableConfiguration struct {
// List of routes in this route table
Route []*AWSRoute `json:"route"`
// AWS tags
Tags interface{} `json:"tags,omitempty"`
// VPC this route table belongs to
VpcID string `json:"vpc_id,omitempty"`
}
AWSRouteTableConfiguration AWS route table configuration swagger:model AWSRouteTableConfiguration
func (*AWSRouteTableConfiguration) MarshalBinary ¶
func (m *AWSRouteTableConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSRouteTableConfiguration) UnmarshalBinary ¶
func (m *AWSRouteTableConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSSecurityGroup ¶
type AWSSecurityGroup map[string]AWSSecurityGroupConfiguration
AWSSecurityGroup AWS security group swagger:model AWSSecurityGroup
type AWSSecurityGroupConfiguration ¶
type AWSSecurityGroupConfiguration struct {
// Description of this security group
Description string `json:"description,omitempty"`
// List of egress rules
Egress []*AWSTrafficRule `json:"egress"`
// List of ingress rules
Ingress []*AWSTrafficRule `json:"ingress"`
// Name of this security group
Name string `json:"name,omitempty"`
// VPC this route table belongs to
VpcID string `json:"vpc_id,omitempty"`
}
AWSSecurityGroupConfiguration AWS security group configuration swagger:model AWSSecurityGroupConfiguration
func (*AWSSecurityGroupConfiguration) MarshalBinary ¶
func (m *AWSSecurityGroupConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSSecurityGroupConfiguration) UnmarshalBinary ¶
func (m *AWSSecurityGroupConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSSubnet ¶
type AWSSubnet map[string]AWSSubnetConfiguration
AWSSubnet AWS subnet swagger:model AWSSubnet
type AWSSubnetConfiguration ¶
type AWSSubnetConfiguration struct {
// Availability zone this subnet belongs to
AvailabilityZone string `json:"availability_zone,omitempty"`
// CIDR block for this subnet
CidrBlock string `json:"cidr_block,omitempty"`
// AWS tags
Tags interface{} `json:"tags,omitempty"`
// VPC this subnet belongs to
VpcID string `json:"vpc_id,omitempty"`
}
AWSSubnetConfiguration AWS subnet configuration swagger:model AWSSubnetConfiguration
func (*AWSSubnetConfiguration) MarshalBinary ¶
func (m *AWSSubnetConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSSubnetConfiguration) UnmarshalBinary ¶
func (m *AWSSubnetConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSTrafficRule ¶
type AWSTrafficRule struct {
// List of CIDR blocks
CidrBlocks []string `json:"cidr_blocks"`
// From port
// Required: true
FromPort *int64 `json:"from_port"`
// Protocol
Protocol string `json:"protocol,omitempty"`
// To port
// Required: true
ToPort *int64 `json:"to_port"`
}
AWSTrafficRule AWS traffic rule swagger:model AWSTrafficRule
func (*AWSTrafficRule) MarshalBinary ¶
func (m *AWSTrafficRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSTrafficRule) UnmarshalBinary ¶
func (m *AWSTrafficRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSVPCConfiguration ¶
type AWSVPCConfiguration struct {
// CIDR block for this VPC
CidrBlock string `json:"cidr_block,omitempty"`
// AWS tags
Tags interface{} `json:"tags,omitempty"`
}
AWSVPCConfiguration AWS VPC Configuration swagger:model AWSVPCConfiguration
func (*AWSVPCConfiguration) MarshalBinary ¶
func (m *AWSVPCConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSVPCConfiguration) UnmarshalBinary ¶
func (m *AWSVPCConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AutoscalingPolicy ¶
type AutoscalingPolicy struct {
// AutoscalingPolicy ID
ID UUID `json:"id,omitempty"`
// String representation of the target metric to monitor
//
// Available values are provided by the given MetricsBackend
// Required: true
Metric *string `json:"metric"`
// Arbitrary configuration object used to configure the metric polling
MetricConfiguration interface{} `json:"metric_configuration,omitempty"`
// MetricsBackend name associated with the AutoscalingPolicy
MetricsBackend string `json:"metrics_backend,omitempty"`
// Name of this policy
// Required: true
Name *string `json:"name"`
// Number of seconds between polling the associated MetricsBackend
// Required: true
PollInterval *int32 `json:"poll_interval"`
// Number of seconds the AutoscalingPolicy must alert the threshold before the policy triggers a scale up or scale down action
// Required: true
SamplePeriod *int32 `json:"sample_period"`
// Scaling policy
// Required: true
ScalingPolicy *ScalingPolicy `json:"scaling_policy"`
}
AutoscalingPolicy autoscaling policy swagger:model AutoscalingPolicy
func (*AutoscalingPolicy) MarshalBinary ¶
func (m *AutoscalingPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AutoscalingPolicy) UnmarshalBinary ¶
func (m *AutoscalingPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMAvailabilitySet ¶
type AzureRMAvailabilitySet map[string]AzureRMAvailabilitySetConfiguration
AzureRMAvailabilitySet azure r m availability set swagger:model AzureRMAvailabilitySet
type AzureRMAvailabilitySetConfiguration ¶
type AzureRMAvailabilitySetConfiguration struct {
// location
Location string `json:"location,omitempty"`
// managed
Managed bool `json:"managed,omitempty"`
// name
Name string `json:"name,omitempty"`
// platform fault domain count
PlatformFaultDomainCount int64 `json:"platform_fault_domain_count,omitempty"`
// resource group name
ResourceGroupName string `json:"resource_group_name,omitempty"`
}
AzureRMAvailabilitySetConfiguration azure r m availability set configuration swagger:model AzureRMAvailabilitySetConfiguration
func (*AzureRMAvailabilitySetConfiguration) MarshalBinary ¶
func (m *AzureRMAvailabilitySetConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMAvailabilitySetConfiguration) UnmarshalBinary ¶
func (m *AzureRMAvailabilitySetConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMNetworkSecurityGroup ¶
type AzureRMNetworkSecurityGroup map[string]AzureRMNetworkSecurityGroupConfiguration
AzureRMNetworkSecurityGroup azure r m network security group swagger:model AzureRMNetworkSecurityGroup
type AzureRMNetworkSecurityGroupConfiguration ¶
type AzureRMNetworkSecurityGroupConfiguration struct {
// location
Location string `json:"location,omitempty"`
// name
Name string `json:"name,omitempty"`
// resource group name
ResourceGroupName string `json:"resource_group_name,omitempty"`
// security rule
SecurityRule []*AzureRMNetworkSecurityRule `json:"security_rule"`
}
AzureRMNetworkSecurityGroupConfiguration azure r m network security group configuration swagger:model AzureRMNetworkSecurityGroupConfiguration
func (*AzureRMNetworkSecurityGroupConfiguration) MarshalBinary ¶
func (m *AzureRMNetworkSecurityGroupConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMNetworkSecurityGroupConfiguration) UnmarshalBinary ¶
func (m *AzureRMNetworkSecurityGroupConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMNetworkSecurityRule ¶
type AzureRMNetworkSecurityRule struct {
// access
Access string `json:"access,omitempty"`
// destination address prefix
DestinationAddressPrefix string `json:"destination_address_prefix,omitempty"`
// destination port range
DestinationPortRange string `json:"destination_port_range,omitempty"`
// direction
Direction string `json:"direction,omitempty"`
// name
Name string `json:"name,omitempty"`
// priority
Priority int64 `json:"priority,omitempty"`
// protocol
Protocol string `json:"protocol,omitempty"`
// source address prefix
SourceAddressPrefix string `json:"source_address_prefix,omitempty"`
// source port range
SourcePortRange string `json:"source_port_range,omitempty"`
}
AzureRMNetworkSecurityRule azure r m network security rule swagger:model AzureRMNetworkSecurityRule
func (*AzureRMNetworkSecurityRule) MarshalBinary ¶
func (m *AzureRMNetworkSecurityRule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMNetworkSecurityRule) UnmarshalBinary ¶
func (m *AzureRMNetworkSecurityRule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMResourceGroup ¶
type AzureRMResourceGroup map[string]AzureRMResourceGroupConfiguration
AzureRMResourceGroup azure r m resource group swagger:model AzureRMResourceGroup
type AzureRMResourceGroupConfiguration ¶
type AzureRMResourceGroupConfiguration struct {
// location
Location string `json:"location,omitempty"`
// name
Name string `json:"name,omitempty"`
}
AzureRMResourceGroupConfiguration azure r m resource group configuration swagger:model AzureRMResourceGroupConfiguration
func (*AzureRMResourceGroupConfiguration) MarshalBinary ¶
func (m *AzureRMResourceGroupConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMResourceGroupConfiguration) UnmarshalBinary ¶
func (m *AzureRMResourceGroupConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMSSHKey ¶
type AzureRMSSHKey struct {
// key data
KeyData string `json:"key_data,omitempty"`
// path
Path string `json:"path,omitempty"`
}
AzureRMSSHKey azure r m SSH key swagger:model AzureRMSSHKey
func (*AzureRMSSHKey) MarshalBinary ¶
func (m *AzureRMSSHKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMSSHKey) UnmarshalBinary ¶
func (m *AzureRMSSHKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMSubnet ¶
type AzureRMSubnet map[string]AzureRMSubnetConfiguration
AzureRMSubnet azure r m subnet swagger:model AzureRMSubnet
type AzureRMSubnetConfiguration ¶
type AzureRMSubnetConfiguration struct {
// address prefix
AddressPrefix string `json:"address_prefix,omitempty"`
// name
Name string `json:"name,omitempty"`
// resource group name
ResourceGroupName string `json:"resource_group_name,omitempty"`
// virtual network name
VirtualNetworkName string `json:"virtual_network_name,omitempty"`
}
AzureRMSubnetConfiguration azure r m subnet configuration swagger:model AzureRMSubnetConfiguration
func (*AzureRMSubnetConfiguration) MarshalBinary ¶
func (m *AzureRMSubnetConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMSubnetConfiguration) UnmarshalBinary ¶
func (m *AzureRMSubnetConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMVirtualMachine ¶
type AzureRMVirtualMachine map[string]AzureRMVirtualMachineConfiguration
AzureRMVirtualMachine azure r m virtual machine swagger:model AzureRMVirtualMachine
type AzureRMVirtualMachineConfiguration ¶
type AzureRMVirtualMachineConfiguration struct {
// availability set id
AvailabilitySetID string `json:"availability_set_id,omitempty"`
// location
Location string `json:"location,omitempty"`
// os profile
OsProfile *AzureRMVirtualMachineOSProfile `json:"os_profile,omitempty"`
// os profile linux config
OsProfileLinuxConfig *AzureRMVirtualMachineOSProfileLinuxConfig `json:"os_profile_linux_config,omitempty"`
// resource group name
ResourceGroupName string `json:"resource_group_name,omitempty"`
// storage data disk
StorageDataDisk []*AzureRMVirtualMachineStorageDataDisk `json:"storage_data_disk"`
// storage image reference
StorageImageReference *AzureRMVirtualMachineStorageImageReference `json:"storage_image_reference,omitempty"`
// storage os disk
StorageOsDisk *AzureRMVirtualMachineStorageOSDisk `json:"storage_os_disk,omitempty"`
// vm size
VMSize string `json:"vm_size,omitempty"`
}
AzureRMVirtualMachineConfiguration azure r m virtual machine configuration swagger:model AzureRMVirtualMachineConfiguration
func (*AzureRMVirtualMachineConfiguration) MarshalBinary ¶
func (m *AzureRMVirtualMachineConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMVirtualMachineConfiguration) UnmarshalBinary ¶
func (m *AzureRMVirtualMachineConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMVirtualMachineOSProfile ¶
type AzureRMVirtualMachineOSProfile struct {
// admin username
AdminUsername string `json:"admin_username,omitempty"`
// computer name
ComputerName string `json:"computer_name,omitempty"`
}
AzureRMVirtualMachineOSProfile azure r m virtual machine o s profile swagger:model AzureRMVirtualMachineOSProfile
func (*AzureRMVirtualMachineOSProfile) MarshalBinary ¶
func (m *AzureRMVirtualMachineOSProfile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMVirtualMachineOSProfile) UnmarshalBinary ¶
func (m *AzureRMVirtualMachineOSProfile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMVirtualMachineOSProfileLinuxConfig ¶
type AzureRMVirtualMachineOSProfileLinuxConfig struct {
// disable password authentication
DisablePasswordAuthentication bool `json:"disable_password_authentication,omitempty"`
// ssh keys
SSHKeys []*AzureRMSSHKey `json:"ssh_keys"`
}
AzureRMVirtualMachineOSProfileLinuxConfig azure r m virtual machine o s profile linux config swagger:model AzureRMVirtualMachineOSProfileLinuxConfig
func (*AzureRMVirtualMachineOSProfileLinuxConfig) MarshalBinary ¶
func (m *AzureRMVirtualMachineOSProfileLinuxConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMVirtualMachineOSProfileLinuxConfig) UnmarshalBinary ¶
func (m *AzureRMVirtualMachineOSProfileLinuxConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMVirtualMachineStorageDataDisk ¶
type AzureRMVirtualMachineStorageDataDisk struct {
// caching
Caching string `json:"caching,omitempty"`
// create option
CreateOption string `json:"create_option,omitempty"`
// disk size gb
// Required: true
DiskSizeGb *int64 `json:"disk_size_gb"`
// lun
// Required: true
Lun *int64 `json:"lun"`
// name
Name string `json:"name,omitempty"`
}
AzureRMVirtualMachineStorageDataDisk azure r m virtual machine storage data disk swagger:model AzureRMVirtualMachineStorageDataDisk
func (*AzureRMVirtualMachineStorageDataDisk) MarshalBinary ¶
func (m *AzureRMVirtualMachineStorageDataDisk) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMVirtualMachineStorageDataDisk) UnmarshalBinary ¶
func (m *AzureRMVirtualMachineStorageDataDisk) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMVirtualMachineStorageImageReference ¶
type AzureRMVirtualMachineStorageImageReference struct {
// offer
Offer string `json:"offer,omitempty"`
// publisher
Publisher string `json:"publisher,omitempty"`
// sku
Sku string `json:"sku,omitempty"`
// version
Version string `json:"version,omitempty"`
}
AzureRMVirtualMachineStorageImageReference azure r m virtual machine storage image reference swagger:model AzureRMVirtualMachineStorageImageReference
func (*AzureRMVirtualMachineStorageImageReference) MarshalBinary ¶
func (m *AzureRMVirtualMachineStorageImageReference) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMVirtualMachineStorageImageReference) UnmarshalBinary ¶
func (m *AzureRMVirtualMachineStorageImageReference) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMVirtualMachineStorageOSDisk ¶
type AzureRMVirtualMachineStorageOSDisk struct {
// caching
Caching string `json:"caching,omitempty"`
// create option
CreateOption string `json:"create_option,omitempty"`
// managed disk type
ManagedDiskType string `json:"managed_disk_type,omitempty"`
}
AzureRMVirtualMachineStorageOSDisk azure r m virtual machine storage o s disk swagger:model AzureRMVirtualMachineStorageOSDisk
func (*AzureRMVirtualMachineStorageOSDisk) MarshalBinary ¶
func (m *AzureRMVirtualMachineStorageOSDisk) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMVirtualMachineStorageOSDisk) UnmarshalBinary ¶
func (m *AzureRMVirtualMachineStorageOSDisk) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRMVirtualNetwork ¶
type AzureRMVirtualNetwork map[string]AzureRMVirtualNetworkConfiguration
AzureRMVirtualNetwork azure r m virtual network swagger:model AzureRMVirtualNetwork
type AzureRMVirtualNetworkConfiguration ¶
type AzureRMVirtualNetworkConfiguration struct {
// address space
AddressSpace []string `json:"address_space"`
// location
Location string `json:"location,omitempty"`
// name
Name string `json:"name,omitempty"`
// resource group name
ResourceGroupName string `json:"resource_group_name,omitempty"`
}
AzureRMVirtualNetworkConfiguration azure r m virtual network configuration swagger:model AzureRMVirtualNetworkConfiguration
func (*AzureRMVirtualNetworkConfiguration) MarshalBinary ¶
func (m *AzureRMVirtualNetworkConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRMVirtualNetworkConfiguration) UnmarshalBinary ¶
func (m *AzureRMVirtualNetworkConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CKECluster ¶
type CKECluster struct {
// Cluster configuration
// Required: true
Configuration *CKEClusterConfiguration `json:"configuration"`
// Timestamp at which the cluster was created
// Required: true
CreatedAt *string `json:"created_at"`
// Provisioning engine
// Required: true
Engine *string `json:"engine"`
// Cluster ID
// Required: true
ID UUID `json:"id"`
// Organization ID of the organization the cluster belongs to
// Required: true
OrganizationID UUID `json:"organization_id"`
// Account ID of the cluster owner
// Required: true
OwnerID UUID `json:"owner_id"`
// ID of the provider through which the cluster is provisioned
// Required: true
ProviderID UUID `json:"provider_id"`
// Name of the provider through which the cluster is provisioned
// Required: true
ProviderName *string `json:"provider_name"`
// Version of the provision service used to provision this cluster
// Required: true
ProvisionServiceVersion *string `json:"provision_service_version"`
// Cluster status
// Required: true
Status *CKEClusterStatus `json:"status"`
// Timestamp at which the cluster was updated
// Required: true
UpdatedAt *string `json:"updated_at"`
}
CKECluster A Containership Kubernetes Engine (CKE) cluster swagger:model CKECluster
func (*CKECluster) MarshalBinary ¶
func (m *CKECluster) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CKECluster) UnmarshalBinary ¶
func (m *CKECluster) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CKEClusterConfiguration ¶
type CKEClusterConfiguration struct {
// Provider information
// Required: true
Provider interface{} `json:"provider"`
// Provider resources
// Required: true
Resource interface{} `json:"resource"`
}
CKEClusterConfiguration The cluster configuration described here is not complete. Some fields are opaque / unlisted due to differences between providers. Only fields relevant to end users are described.
swagger:model CKEClusterConfiguration
func (*CKEClusterConfiguration) MarshalBinary ¶
func (m *CKEClusterConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CKEClusterConfiguration) UnmarshalBinary ¶
func (m *CKEClusterConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CKEClusterStatus ¶
type CKEClusterStatus struct {
// Human-readable message
// Required: true
Message *string `json:"message"`
// Percent complete, if applicable
Percent float32 `json:"percent,omitempty"`
// Type of status
// Required: true
Type *string `json:"type"`
}
CKEClusterStatus c k e cluster status swagger:model CKEClusterStatus
func (*CKEClusterStatus) MarshalBinary ¶
func (m *CKEClusterStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CKEClusterStatus) UnmarshalBinary ¶
func (m *CKEClusterStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CKEClusters ¶
type CKEClusters []*CKECluster
CKEClusters c k e clusters swagger:model CKEClusters
type CreateCKEClusterPlugin ¶
type CreateCKEClusterPlugin struct {
// Plugin configuration
Configuration interface{} `json:"configuration,omitempty"`
// Specific implementation of this plugin type
// Required: true
Implementation *string `json:"implementation"`
// Plugin type
// Required: true
// Enum: [cluster_management metrics logs cni csi cloud_controller_manager autoscaler gpu_device audit_logs]
Type *string `json:"type"`
// Plugin version
Version string `json:"version,omitempty"`
}
CreateCKEClusterPlugin create c k e cluster plugin swagger:model CreateCKEClusterPlugin
func (*CreateCKEClusterPlugin) MarshalBinary ¶
func (m *CreateCKEClusterPlugin) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCKEClusterPlugin) UnmarshalBinary ¶
func (m *CreateCKEClusterPlugin) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateCKEClusterPlugins ¶
type CreateCKEClusterPlugins []*CreateCKEClusterPlugin
CreateCKEClusterPlugins create c k e cluster plugins swagger:model CreateCKEClusterPlugins
type CreateCKEClusterRequest ¶
type CreateCKEClusterRequest struct {
// List of label key/value pairs to add to cluster
// Required: true
Labels interface{} `json:"labels"`
// List of plugins to add to cluster
// Required: true
Plugins CreateCKEClusterPlugins `json:"plugins"`
// Provider credentials ID to use for provisioning
// Required: true
ProviderID UUID `json:"provider_id"`
// Template ID to use for provisioning
// Required: true
TemplateID UUID `json:"template_id"`
}
CreateCKEClusterRequest Request to create (provision) a CKE cluster swagger:model CreateCKEClusterRequest
func (*CreateCKEClusterRequest) MarshalBinary ¶
func (m *CreateCKEClusterRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateCKEClusterRequest) UnmarshalBinary ¶
func (m *CreateCKEClusterRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateTemplateRequest ¶
type CreateTemplateRequest struct {
// Template configuration
// Required: true
Configuration *TemplateConfiguration `json:"configuration"`
// Description of this template
// Required: true
// Min Length: 1
Description *string `json:"description"`
// Engine to use for provisioning (deprecated - always containership_kubernetes_engine)
// Required: true
// Enum: [containership_kubernetes_engine]
Engine *string `json:"engine"`
// Cloud provider name
// Required: true
// Enum: [digital_ocean azure google amazon_web_services packet]
ProviderName *string `json:"provider_name"`
}
CreateTemplateRequest create template request swagger:model CreateTemplateRequest
func (*CreateTemplateRequest) MarshalBinary ¶
func (m *CreateTemplateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateTemplateRequest) UnmarshalBinary ¶
func (m *CreateTemplateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DigitalOceanDropletConfiguration ¶
type DigitalOceanDropletConfiguration struct {
// Enable droplet backups if true
Backups bool `json:"backups,omitempty"`
// Image to use for droplet
// Required: true
Image *string `json:"image"`
// Enable monitoring for droplet
Monitoring bool `json:"monitoring,omitempty"`
// Enable private networking for droplet
// Required: true
PrivateNetworking *bool `json:"private_networking"`
// Region for this droplet
// Required: true
Region *string `json:"region"`
// Droplet size
// Required: true
Size *string `json:"size"`
}
DigitalOceanDropletConfiguration Configuration for a DigitalOcean droplet swagger:model DigitalOceanDropletConfiguration
func (*DigitalOceanDropletConfiguration) MarshalBinary ¶
func (m *DigitalOceanDropletConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DigitalOceanDropletConfiguration) UnmarshalBinary ¶
func (m *DigitalOceanDropletConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DigitalOceanDropletMap ¶
type DigitalOceanDropletMap map[string]DigitalOceanDropletConfiguration
DigitalOceanDropletMap Map of node pool name to DigitalOcean droplet configuration swagger:model DigitalOceanDropletMap
type Error ¶
type Error struct {
// code
// Required: true
Code *int32 `json:"code"`
// message
// Required: true
Message *string `json:"message"`
}
Error error swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GoogleComputeBootDiskConfiguration ¶
type GoogleComputeBootDiskConfiguration struct {
// Initialize parameters
InitializeParams *GoogleComputeBootDiskConfigurationInitializeParams `json:"initialize_params,omitempty"`
}
GoogleComputeBootDiskConfiguration Boot disk configuration swagger:model GoogleComputeBootDiskConfiguration
func (*GoogleComputeBootDiskConfiguration) MarshalBinary ¶
func (m *GoogleComputeBootDiskConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleComputeBootDiskConfiguration) UnmarshalBinary ¶
func (m *GoogleComputeBootDiskConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleComputeBootDiskConfigurationInitializeParams ¶
type GoogleComputeBootDiskConfigurationInitializeParams struct {
// Disk image
Image string `json:"image,omitempty"`
// Disk size
// Required: true
Size *int64 `json:"size"`
// Disk type
Type string `json:"type,omitempty"`
}
GoogleComputeBootDiskConfigurationInitializeParams Boot disk configuration initialize params swagger:model GoogleComputeBootDiskConfigurationInitializeParams
func (*GoogleComputeBootDiskConfigurationInitializeParams) MarshalBinary ¶
func (m *GoogleComputeBootDiskConfigurationInitializeParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleComputeBootDiskConfigurationInitializeParams) UnmarshalBinary ¶
func (m *GoogleComputeBootDiskConfigurationInitializeParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleComputeFirewall ¶
type GoogleComputeFirewall interface{}
GoogleComputeFirewall Google compute firewall swagger:model GoogleComputeFirewall
type GoogleComputeFirewallConfiguration ¶
type GoogleComputeFirewallConfiguration struct {
// Allow rules
Allow interface{} `json:"allow,omitempty"`
// Name
Name string `json:"name,omitempty"`
// Network
Network string `json:"network,omitempty"`
// Project
Project string `json:"project,omitempty"`
// Source ranges
SourceRanges []string `json:"source_ranges"`
// Target tags
TargetTags []string `json:"target_tags"`
}
GoogleComputeFirewallConfiguration Google compute firewall configuration swagger:model GoogleComputeFirewallConfiguration
func (*GoogleComputeFirewallConfiguration) MarshalBinary ¶
func (m *GoogleComputeFirewallConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleComputeFirewallConfiguration) UnmarshalBinary ¶
func (m *GoogleComputeFirewallConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleComputeInstance ¶
type GoogleComputeInstance interface{}
GoogleComputeInstance Google compute instance swagger:model GoogleComputeInstance
type GoogleComputeInstanceConfiguration ¶
type GoogleComputeInstanceConfiguration struct {
// Boot disk
BootDisk *GoogleComputeBootDiskConfiguration `json:"boot_disk,omitempty"`
// Machine type
MachineType string `json:"machine_type,omitempty"`
// Network interface
NetworkInterface *GoogleComputeNetworkInterface `json:"network_interface,omitempty"`
// Project
Project string `json:"project,omitempty"`
// Service account
ServiceAccount *GoogleComputeServiceAccount `json:"service_account,omitempty"`
// Tags
Tags []string `json:"tags"`
// Zone
Zone string `json:"zone,omitempty"`
}
GoogleComputeInstanceConfiguration Google compute instance configuration swagger:model GoogleComputeInstanceConfiguration
func (*GoogleComputeInstanceConfiguration) MarshalBinary ¶
func (m *GoogleComputeInstanceConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleComputeInstanceConfiguration) UnmarshalBinary ¶
func (m *GoogleComputeInstanceConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleComputeNetwork ¶
type GoogleComputeNetwork interface{}
GoogleComputeNetwork Google compute network swagger:model GoogleComputeNetwork
type GoogleComputeNetworkConfiguration ¶
type GoogleComputeNetworkConfiguration struct {
// Auto create subnetworks
AutoCreateSubnetworks bool `json:"auto_create_subnetworks,omitempty"`
// Description
Description string `json:"description,omitempty"`
// Name
Name string `json:"name,omitempty"`
// Project
Project string `json:"project,omitempty"`
}
GoogleComputeNetworkConfiguration Google compute network configuration swagger:model GoogleComputeNetworkConfiguration
func (*GoogleComputeNetworkConfiguration) MarshalBinary ¶
func (m *GoogleComputeNetworkConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleComputeNetworkConfiguration) UnmarshalBinary ¶
func (m *GoogleComputeNetworkConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleComputeNetworkInterface ¶
type GoogleComputeNetworkInterface struct {
// access config
AccessConfig interface{} `json:"access_config,omitempty"`
// subnetwork
Subnetwork string `json:"subnetwork,omitempty"`
// subnetwork project
SubnetworkProject string `json:"subnetwork_project,omitempty"`
}
GoogleComputeNetworkInterface Network interface swagger:model GoogleComputeNetworkInterface
func (*GoogleComputeNetworkInterface) MarshalBinary ¶
func (m *GoogleComputeNetworkInterface) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleComputeNetworkInterface) UnmarshalBinary ¶
func (m *GoogleComputeNetworkInterface) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleComputeServiceAccount ¶
type GoogleComputeServiceAccount struct {
// Scopes
Scopes []string `json:"scopes"`
}
GoogleComputeServiceAccount Service account swagger:model GoogleComputeServiceAccount
func (*GoogleComputeServiceAccount) MarshalBinary ¶
func (m *GoogleComputeServiceAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleComputeServiceAccount) UnmarshalBinary ¶
func (m *GoogleComputeServiceAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleComputeSubnetwork ¶
type GoogleComputeSubnetwork interface{}
GoogleComputeSubnetwork Google compute subnetwork swagger:model GoogleComputeSubnetwork
type GoogleComputeSubnetworkConfiguration ¶
type GoogleComputeSubnetworkConfiguration struct {
// IP CIDR
IPCidrRange string `json:"ip_cidr_range,omitempty"`
// Name
Name string `json:"name,omitempty"`
// Network
Network string `json:"network,omitempty"`
// Project
Project string `json:"project,omitempty"`
// Region
Region string `json:"region,omitempty"`
}
GoogleComputeSubnetworkConfiguration Google compute subnetwork configuration swagger:model GoogleComputeSubnetworkConfiguration
func (*GoogleComputeSubnetworkConfiguration) MarshalBinary ¶
func (m *GoogleComputeSubnetworkConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleComputeSubnetworkConfiguration) UnmarshalBinary ¶
func (m *GoogleComputeSubnetworkConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IDResponse ¶
type IDResponse struct {
// ID of some resource
// Required: true
ID UUID `json:"id"`
}
IDResponse ID response swagger:model IDResponse
func (*IDResponse) MarshalBinary ¶
func (m *IDResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IDResponse) UnmarshalBinary ¶
func (m *IDResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Node ¶
type Node struct {
// Node addresses
// Required: true
Addresses *NodeAddresses `json:"addresses"`
// Timestamp at which the node was created
// Required: true
CreatedAt *string `json:"created_at"`
// Node ID
// Required: true
ID UUID `json:"id"`
// Node status
// Required: true
Status *NodeStatus `json:"status"`
// Timestamp at which the node was updated
// Required: true
UpdatedAt *string `json:"updated_at"`
}
Node node swagger:model Node
func (*Node) MarshalBinary ¶
MarshalBinary interface implementation
func (*Node) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NodeAddresses ¶
type NodeAddresses struct {
// External IP
ExternalIP string `json:"external_ip,omitempty"`
// Internal IP
InternalIP string `json:"internal_ip,omitempty"`
}
NodeAddresses node addresses swagger:model NodeAddresses
func (*NodeAddresses) MarshalBinary ¶
func (m *NodeAddresses) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeAddresses) UnmarshalBinary ¶
func (m *NodeAddresses) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodePool ¶
type NodePool struct {
// Autoscaling if enabled holds the configuration for an autoscaling group
// Required: true
Autoscaling *NodePoolAutoscaling `json:"autoscaling"`
// Number of nodes in this node pool
// Required: true
Count *int32 `json:"count"`
// Docker version running on this node pool
// Required: true
DockerVersion *string `json:"docker_version"`
// Flag indicating whether etcd is running on this node pool
// Required: true
Etcd *bool `json:"etcd"`
// etcd version running on this node, if applicable
// Required: true
EtcdVersion *string `json:"etcd_version"`
// Node Pool ID
// Required: true
ID UUID `json:"id"`
// Flag indicating whether this node pool can be scheduled on
// Required: true
IsSchedulable *bool `json:"is_schedulable"`
// Kubernetes mode (master or worker) for this node pool
// Required: true
// Enum: [master worker]
KubernetesMode *string `json:"kubernetes_mode"`
// Kubernetes version running on this node pool
// Required: true
KubernetesVersion *string `json:"kubernetes_version"`
// Name of this node pool
// Required: true
Name *string `json:"name"`
// Operating System
// Required: true
Os *string `json:"os"`
// Node Pool status
// Required: true
Status *NodePoolStatus `json:"status"`
}
NodePool node pool swagger:model NodePool
func (*NodePool) MarshalBinary ¶
MarshalBinary interface implementation
func (*NodePool) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NodePoolAutoscaling ¶
type NodePoolAutoscaling struct {
// cooldown period
CooldownPeriod int32 `json:"cooldown_period,omitempty"`
// enabled
// Required: true
Enabled *bool `json:"enabled"`
// max nodes
MaxNodes int32 `json:"max_nodes,omitempty"`
// min nodes
MinNodes int32 `json:"min_nodes,omitempty"`
// scaling strategy
ScalingStrategy *NodePoolAutoscalingScalingStrategy `json:"scaling_strategy,omitempty"`
// suspended
Suspended bool `json:"suspended,omitempty"`
}
NodePoolAutoscaling node pool autoscaling swagger:model NodePoolAutoscaling
func (*NodePoolAutoscaling) MarshalBinary ¶
func (m *NodePoolAutoscaling) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodePoolAutoscaling) UnmarshalBinary ¶
func (m *NodePoolAutoscaling) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodePoolAutoscalingScalingStrategy ¶
type NodePoolAutoscalingScalingStrategy struct {
// scale down
ScaleDown string `json:"scale_down,omitempty"`
// scale up
ScaleUp string `json:"scale_up,omitempty"`
}
NodePoolAutoscalingScalingStrategy node pool autoscaling scaling strategy swagger:model NodePoolAutoscalingScalingStrategy
func (*NodePoolAutoscalingScalingStrategy) MarshalBinary ¶
func (m *NodePoolAutoscalingScalingStrategy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodePoolAutoscalingScalingStrategy) UnmarshalBinary ¶
func (m *NodePoolAutoscalingScalingStrategy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodePoolCreateRequest ¶
type NodePoolCreateRequest interface{}
NodePoolCreateRequest node pool create request swagger:model NodePoolCreateRequest
type NodePoolDigitalOceanCreateRequest ¶
type NodePoolDigitalOceanCreateRequest struct {
// Provider-specific cloud resources
// Required: true
Resource *DigitalOceanDropletConfiguration `json:"resource"`
// Provider-agnostic parameters
// Required: true
Variable *TemplateNodePool `json:"variable"`
}
NodePoolDigitalOceanCreateRequest node pool digital ocean create request swagger:model NodePoolDigitalOceanCreateRequest
func (*NodePoolDigitalOceanCreateRequest) MarshalBinary ¶
func (m *NodePoolDigitalOceanCreateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodePoolDigitalOceanCreateRequest) UnmarshalBinary ¶
func (m *NodePoolDigitalOceanCreateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodePoolLabel ¶
type NodePoolLabel struct {
// Timestamp at which the label was created
CreatedAt string `json:"created_at,omitempty"`
// Node pool label ID
ID UUID `json:"id,omitempty"`
// Label key
// Required: true
Key *string `json:"key"`
// ID of the node pool this label belongs to
NodePoolID UUID `json:"node_pool_id,omitempty"`
// Timestamp at which the label was updated
UpdatedAt string `json:"updated_at,omitempty"`
// Label value
// Required: true
Value *string `json:"value"`
}
NodePoolLabel node pool label swagger:model NodePoolLabel
func (*NodePoolLabel) MarshalBinary ¶
func (m *NodePoolLabel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodePoolLabel) UnmarshalBinary ¶
func (m *NodePoolLabel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodePoolLabels ¶
type NodePoolLabels []*NodePoolLabel
NodePoolLabels node pool labels swagger:model NodePoolLabels
type NodePoolScaleRequest ¶
type NodePoolScaleRequest struct {
// Number of nodes in this node pool
// Required: true
Count *int32 `json:"count"`
}
NodePoolScaleRequest node pool scale request swagger:model NodePoolScaleRequest
func (*NodePoolScaleRequest) MarshalBinary ¶
func (m *NodePoolScaleRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodePoolScaleRequest) UnmarshalBinary ¶
func (m *NodePoolScaleRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodePoolStatus ¶
type NodePoolStatus struct {
// Human-readable message
// Required: true
Message *string `json:"message"`
// Percent complete, if applicable
Percent float32 `json:"percent,omitempty"`
// Type of status
// Required: true
Type *string `json:"type"`
}
NodePoolStatus node pool status swagger:model NodePoolStatus
func (*NodePoolStatus) MarshalBinary ¶
func (m *NodePoolStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodePoolStatus) UnmarshalBinary ¶
func (m *NodePoolStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodePoolUpgradeRequest ¶
type NodePoolUpgradeRequest struct {
// Kubernetes version to upgrade (or downgrade) to
// Required: true
KubernetesVersion *string `json:"kubernetes_version"`
}
NodePoolUpgradeRequest Upgrade (or downgrade) the Kubernetes version for a node pool swagger:model NodePoolUpgradeRequest
func (*NodePoolUpgradeRequest) MarshalBinary ¶
func (m *NodePoolUpgradeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodePoolUpgradeRequest) UnmarshalBinary ¶
func (m *NodePoolUpgradeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeStatus ¶
type NodeStatus struct {
// Human-readable message
// Required: true
Message *string `json:"message"`
// Percent complete, if applicable
Percent float32 `json:"percent,omitempty"`
// Type of status
// Required: true
Type *string `json:"type"`
}
NodeStatus node status swagger:model NodeStatus
func (*NodeStatus) MarshalBinary ¶
func (m *NodeStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeStatus) UnmarshalBinary ¶
func (m *NodeStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PacketDeviceConfiguration ¶
type PacketDeviceConfiguration struct {
// Facility for this packet device
// Required: true
Facility *string `json:"facility"`
// OS for this packet device
// Enum: [centos_7 rhel_7 ubuntu_16_04]
OperatingSystem string `json:"operating_system,omitempty"`
// Plan for this packet device
// Required: true
Plan *string `json:"plan"`
// Packet project ID
// Required: true
ProjectID UUID `json:"project_id"`
}
PacketDeviceConfiguration Configuration for a Packet device swagger:model PacketDeviceConfiguration
func (*PacketDeviceConfiguration) MarshalBinary ¶
func (m *PacketDeviceConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PacketDeviceConfiguration) UnmarshalBinary ¶
func (m *PacketDeviceConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PacketDeviceMap ¶
type PacketDeviceMap map[string]PacketDeviceConfiguration
PacketDeviceMap Map of node pool name to Packet device configuration swagger:model PacketDeviceMap
type ScalingPolicy ¶
type ScalingPolicy struct {
// Scale down policy
ScaleDown *ScalingPolicyConfiguration `json:"scale_down,omitempty"`
// Scale up policy
ScaleUp *ScalingPolicyConfiguration `json:"scale_up,omitempty"`
}
ScalingPolicy scaling policy swagger:model ScalingPolicy
func (*ScalingPolicy) MarshalBinary ¶
func (m *ScalingPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScalingPolicy) UnmarshalBinary ¶
func (m *ScalingPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ScalingPolicyConfiguration ¶
type ScalingPolicyConfiguration struct {
// Method by which to add capacity to the AutoscalingGroup
//
// Absolute represents an exact number of nodes, whereas percent represents a percentage (rounded up to the nearest whole number) of nodes in the pool.
// Required: true
// Enum: [absolute percent]
AdjustmentType *string `json:"adjustment_type"`
// Numerical representation of the number of nodes to scale the AutoscalingGroup down by determined by the adjustmentType
// Required: true
AdjustmentValue *float32 `json:"adjustment_value"`
// The comparison operator to use when comparing the MetricsBackend metric value to the threshold value
// Required: true
ComparisonOperator *string `json:"comparison_operator"`
// Numerical representation of the threshold at which when the comparison evaluates to true, the associated AutoscalingGroups should scale
// Required: true
Threshold *float32 `json:"threshold"`
}
ScalingPolicyConfiguration scaling policy configuration swagger:model ScalingPolicyConfiguration
func (*ScalingPolicyConfiguration) MarshalBinary ¶
func (m *ScalingPolicyConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ScalingPolicyConfiguration) UnmarshalBinary ¶
func (m *ScalingPolicyConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Template ¶
type Template struct {
// Template configuration
// Required: true
Configuration *TemplateConfiguration `json:"configuration"`
// Timestamp at which the cluster was created
// Required: true
CreatedAt *string `json:"created_at"`
// Description of this template
// Required: true
Description *string `json:"description"`
// Engine to use for provisioning (deprecated - always containership_kubernetes_engine)
// Required: true
// Enum: [containership_kubernetes_engine]
Engine *string `json:"engine"`
// Cluster ID
// Required: true
ID UUID `json:"id"`
// Organization ID of the organization the cluster belongs to
// Required: true
OrganizationID UUID `json:"organization_id"`
// Account ID of the cluster owner
// Required: true
OwnerID UUID `json:"owner_id"`
// Cloud provider name
// Required: true
// Enum: [digital_ocean azure google amazon_web_services packet]
ProviderName *string `json:"provider_name"`
// Timestamp at which the cluster was updated
// Required: true
UpdatedAt *string `json:"updated_at"`
}
Template template swagger:model Template
func (*Template) MarshalBinary ¶
MarshalBinary interface implementation
func (*Template) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TemplateConfiguration ¶
type TemplateConfiguration struct {
// Template provider
Provider TemplateProvider `json:"provider,omitempty"`
// Provider-specific cloud resources
// Required: true
Resource *TemplateResource `json:"resource"`
// Provider-agnostic cloud resources
// Required: true
Variable TemplateVariableMap `json:"variable"`
}
TemplateConfiguration template configuration swagger:model TemplateConfiguration
func (*TemplateConfiguration) MarshalBinary ¶
func (m *TemplateConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TemplateConfiguration) UnmarshalBinary ¶
func (m *TemplateConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TemplateNodePool ¶
type TemplateNodePool struct {
// Number of nodes in this node pool
// Required: true
// Minimum: 1
Count *int32 `json:"count"`
// Docker version of this node pool (excluding leading 'v')
DockerVersion string `json:"docker_version,omitempty"`
// true if etcd runs on this node pool, else false (required if kubernetes_mode == master)
Etcd bool `json:"etcd,omitempty"`
// true if this is a GPU node pool, else false
Gpu bool `json:"gpu,omitempty"`
// true if this node pool is schedulable, else false (required if kubernetes_mode == master)
IsSchedulable bool `json:"is_schedulable,omitempty"`
// Kubernetes mode of this node pool (master or worker)
// Required: true
// Enum: [master worker]
KubernetesMode *string `json:"kubernetes_mode"`
// Kubernetes version of this node pool (excluding leading 'v')
// Required: true
KubernetesVersion *string `json:"kubernetes_version"`
// Name of this node pool
// Required: true
Name *string `json:"name"`
// Operating System
// Required: true
// Enum: [centos rhel ubuntu]
Os *string `json:"os"`
// Type of this resource (always node_pool)
// Required: true
// Enum: [node_pool]
Type *string `json:"type"`
}
TemplateNodePool template node pool swagger:model TemplateNodePool
func (*TemplateNodePool) MarshalBinary ¶
func (m *TemplateNodePool) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TemplateNodePool) UnmarshalBinary ¶
func (m *TemplateNodePool) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TemplateProvider ¶
type TemplateProvider map[string]TemplateProviderConfiguration
TemplateProvider Provider for a template swagger:model TemplateProvider
type TemplateProviderConfiguration ¶
type TemplateProviderConfiguration interface{}
TemplateProviderConfiguration Template provider configuration swagger:model TemplateProviderConfiguration
type TemplateResource ¶
type TemplateResource struct {
// aws instance
AwsInstance AWSInstance `json:"aws_instance,omitempty"`
// aws internet gateway
AwsInternetGateway AWSInternetGateway `json:"aws_internet_gateway,omitempty"`
// aws main route table association
AwsMainRouteTableAssociation AWSMainRouteTableAssociation `json:"aws_main_route_table_association,omitempty"`
// aws route table
AwsRouteTable AWSRouteTable `json:"aws_route_table,omitempty"`
// aws security group
AwsSecurityGroup AWSSecurityGroup `json:"aws_security_group,omitempty"`
// aws subnet
AwsSubnet AWSSubnet `json:"aws_subnet,omitempty"`
// aws vpc
AwsVpc AWSVPC `json:"aws_vpc,omitempty"`
// azurerm availability set
AzurermAvailabilitySet AzureRMAvailabilitySet `json:"azurerm_availability_set,omitempty"`
// azurerm network security group
AzurermNetworkSecurityGroup AzureRMNetworkSecurityGroup `json:"azurerm_network_security_group,omitempty"`
// azurerm resource group
AzurermResourceGroup AzureRMResourceGroup `json:"azurerm_resource_group,omitempty"`
// azurerm subnet
AzurermSubnet AzureRMSubnet `json:"azurerm_subnet,omitempty"`
// azurerm virtual machine
AzurermVirtualMachine AzureRMVirtualMachine `json:"azurerm_virtual_machine,omitempty"`
// azurerm virtual network
AzurermVirtualNetwork AzureRMVirtualNetwork `json:"azurerm_virtual_network,omitempty"`
// digitalocean droplet
DigitaloceanDroplet DigitalOceanDropletMap `json:"digitalocean_droplet,omitempty"`
// google compute firewall
GoogleComputeFirewall GoogleComputeFirewall `json:"google_compute_firewall,omitempty"`
// google compute instance
GoogleComputeInstance GoogleComputeInstance `json:"google_compute_instance,omitempty"`
// google compute network
GoogleComputeNetwork GoogleComputeNetwork `json:"google_compute_network,omitempty"`
// google compute subnetwork
GoogleComputeSubnetwork GoogleComputeSubnetwork `json:"google_compute_subnetwork,omitempty"`
// packet device
PacketDevice PacketDeviceMap `json:"packet_device,omitempty"`
}
TemplateResource template resource swagger:model TemplateResource
func (*TemplateResource) MarshalBinary ¶
func (m *TemplateResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TemplateResource) UnmarshalBinary ¶
func (m *TemplateResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TemplateVariableDefault ¶
type TemplateVariableDefault struct {
// default
// Required: true
Default *TemplateNodePool `json:"default"`
}
TemplateVariableDefault template variable default swagger:model TemplateVariableDefault
func (*TemplateVariableDefault) MarshalBinary ¶
func (m *TemplateVariableDefault) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TemplateVariableDefault) UnmarshalBinary ¶
func (m *TemplateVariableDefault) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TemplateVariableMap ¶
type TemplateVariableMap map[string]TemplateVariableDefault
TemplateVariableMap Map of variable resource name to object swagger:model TemplateVariableMap
Source Files
¶
- a_w_s_instance.go
- a_w_s_instance_configuration.go
- a_w_s_internet_gateway.go
- a_w_s_internet_gateway_configuration.go
- a_w_s_main_route_table_association.go
- a_w_s_main_route_table_association_configuration.go
- a_w_s_route.go
- a_w_s_route_table.go
- a_w_s_route_table_configuration.go
- a_w_s_security_group.go
- a_w_s_security_group_configuration.go
- a_w_s_subnet.go
- a_w_s_subnet_configuration.go
- a_w_s_traffic_rule.go
- a_w_s_v_p_c.go
- a_w_s_v_p_c_configuration.go
- autoscaling_policy.go
- azure_r_m_availability_set.go
- azure_r_m_availability_set_configuration.go
- azure_r_m_network_security_group.go
- azure_r_m_network_security_group_configuration.go
- azure_r_m_network_security_rule.go
- azure_r_m_resource_group.go
- azure_r_m_resource_group_configuration.go
- azure_r_m_ssh_key.go
- azure_r_m_subnet.go
- azure_r_m_subnet_configuration.go
- azure_r_m_virtual_machine.go
- azure_r_m_virtual_machine_configuration.go
- azure_r_m_virtual_machine_o_s_profile.go
- azure_r_m_virtual_machine_o_s_profile_linux_config.go
- azure_r_m_virtual_machine_storage_data_disk.go
- azure_r_m_virtual_machine_storage_image_reference.go
- azure_r_m_virtual_machine_storage_o_s_disk.go
- azure_r_m_virtual_network.go
- azure_r_m_virtual_network_configuration.go
- c_k_e_cluster.go
- c_k_e_cluster_configuration.go
- c_k_e_cluster_status.go
- c_k_e_clusters.go
- create_c_k_e_cluster_plugin.go
- create_c_k_e_cluster_plugins.go
- create_c_k_e_cluster_request.go
- create_template_request.go
- digital_ocean_droplet_configuration.go
- digital_ocean_droplet_map.go
- error.go
- google_compute_boot_disk_configuration.go
- google_compute_boot_disk_configuration_initialize_params.go
- google_compute_firewall.go
- google_compute_firewall_configuration.go
- google_compute_instance.go
- google_compute_instance_configuration.go
- google_compute_network.go
- google_compute_network_configuration.go
- google_compute_network_interface.go
- google_compute_service_account.go
- google_compute_subnetwork.go
- google_compute_subnetwork_configuration.go
- id_response.go
- node.go
- node_addresses.go
- node_pool.go
- node_pool_autoscaling.go
- node_pool_autoscaling_scaling_strategy.go
- node_pool_create_request.go
- node_pool_digital_ocean_create_request.go
- node_pool_label.go
- node_pool_labels.go
- node_pool_scale_request.go
- node_pool_status.go
- node_pool_upgrade_request.go
- node_pools.go
- node_status.go
- nodes.go
- packet_device_configuration.go
- packet_device_map.go
- scaling_policy.go
- scaling_policy_configuration.go
- template.go
- template_configuration.go
- template_node_pool.go
- template_provider.go
- template_provider_configuration.go
- template_resource.go
- template_variable_default.go
- template_variable_map.go
- templates.go
- uuid.go