Documentation
¶
Index ¶
- type AddDNSRecordCFRequest
- type AddMemberRequest
- type ApplicationCredential
- type BlockDeviceMappingV2
- type CreateApplicationCredentialRequest
- type CreateClusterRequest
- type CreateComputeRequest
- type CreateFloatingIPRequest
- type CreateHealthMonitorHTTPRequest
- type CreateHealthMonitorTCPRequest
- type CreateKubeconfigRequest
- type CreateListenerRequest
- type CreateLoadBalancerRequest
- type CreateNetworkPortRequest
- type CreateNodeGroupRequest
- type CreatePoolRequest
- type CreateSecurityGroupRequest
- type CreateSecurityGroupRuleForIpRequest
- type CreateSecurityGroupRuleForSgRequest
- type CreateServerGroupRequest
- type FixedIp
- type FloatingIP
- type HealthMonitorHTTP
- type HealthMonitorTCP
- type Listener
- type LoadBalancer
- type Member
- type Networks
- type Pool
- type Port
- type SchedulerHints
- type SecurityGroup
- type SecurityGroupRuleForIP
- type SecurityGroupRuleForSG
- type SecurityGroups
- type Server
- type ServerGroup
- type UpdateNodeGroupRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDNSRecordCFRequest ¶
type AddMemberRequest ¶
type AddMemberRequest struct {
Member Member `json:"member"`
}
type ApplicationCredential ¶
type BlockDeviceMappingV2 ¶
type CreateApplicationCredentialRequest ¶
type CreateApplicationCredentialRequest struct {
ApplicationCredential ApplicationCredential `json:"application_credential"`
}
type CreateClusterRequest ¶
type CreateClusterRequest struct {
ClusterName string `json:"clusterName"`
ProjectID string `json:"projectId"`
KubernetesVersion string `json:"kubernetesVersion"`
NodeKeyPairName string `json:"nodeKeyPairName"`
ClusterAPIAccess string `json:"clusterApiAccess"`
SubnetIDs []string `json:"subnetIds"`
WorkerNodeGroupMinSize int `json:"workerNodeGroupMinSize"`
WorkerNodeGroupMaxSize int `json:"workerNodeGroupMaxSize"`
WorkerInstanceFlavorUUID string `json:"workerInstanceFlavorUUID"`
MasterInstanceFlavorUUID string `json:"masterInstanceFlavorUUID"`
WorkerDiskSizeGB int `json:"workerDiskSizeGB"`
AllowedCIDRS []string `json:"allowedCIDRs"`
}
type CreateComputeRequest ¶
type CreateComputeRequest struct {
Server Server `json:"server"`
SchedulerHints SchedulerHints `json:"os:scheduler_hints"`
}
type CreateFloatingIPRequest ¶
type CreateFloatingIPRequest struct {
FloatingIP FloatingIP `json:"floatingip"`
}
type CreateHealthMonitorHTTPRequest ¶
type CreateHealthMonitorHTTPRequest struct {
HealthMonitor HealthMonitorHTTP `json:"healthmonitor"`
}
type CreateHealthMonitorTCPRequest ¶
type CreateHealthMonitorTCPRequest struct {
HealthMonitor HealthMonitorTCP `json:"healthmonitor"`
}
type CreateKubeconfigRequest ¶
type CreateListenerRequest ¶
type CreateListenerRequest struct {
Listener Listener `json:"listener"`
}
type CreateLoadBalancerRequest ¶
type CreateLoadBalancerRequest struct {
LoadBalancer LoadBalancer `json:"loadbalancer"`
}
type CreateNetworkPortRequest ¶
type CreateNetworkPortRequest struct {
Port Port `json:"port"`
}
type CreateNodeGroupRequest ¶
type CreateNodeGroupRequest struct {
NodeGroupName string `json:"nodeGroupName"`
NodeFlavorUUID string `json:"nodeFlavorUUID"`
NodeDiskSize int `json:"nodeDiskSize"`
NodeGroupLabels []string `json:"nodeGroupLabels"`
NodeGroupMinSize int `json:"nodeGroupMinSize"`
NodeGroupMaxSize int `json:"nodeGroupMaxSize"`
}
type CreatePoolRequest ¶
type CreatePoolRequest struct {
Pool Pool `json:"pool"`
}
type CreateSecurityGroupRequest ¶
type CreateSecurityGroupRequest struct {
SecurityGroup SecurityGroup `json:"security_group"`
}
type CreateSecurityGroupRuleForIpRequest ¶
type CreateSecurityGroupRuleForIpRequest struct {
SecurityGroupRule SecurityGroupRuleForIP `json:"security_group_rule"`
}
type CreateSecurityGroupRuleForSgRequest ¶
type CreateSecurityGroupRuleForSgRequest struct {
SecurityGroupRule SecurityGroupRuleForSG `json:"security_group_rule"`
}
type CreateServerGroupRequest ¶
type CreateServerGroupRequest struct {
ServerGroup ServerGroup `json:"server_group"`
}
type FloatingIP ¶
type HealthMonitorHTTP ¶
type HealthMonitorHTTP struct {
Name string `json:"name"`
AdminStateUp bool `json:"admin_state_up"`
PoolID string `json:"pool_id"`
MaxRetries string `json:"max_retries"`
Delay string `json:"delay"`
ExpectedCodes string `json:"expected_codes"`
HTTPMethod string `json:"http_method"`
TimeOut string `json:"timeout"`
Type string `json:"type"`
HttpVersion float32 `json:"http_version"`
UrlPath string `json:"url_path"`
MaxRetriesDown int `json:"max_retries_down"`
DomainName string `json:"domain_name"`
}
type HealthMonitorTCP ¶
type HealthMonitorTCP struct {
Name string `json:"name"`
AdminStateUp bool `json:"admin_state_up"`
PoolID string `json:"pool_id"`
MaxRetries string `json:"max_retries"`
Delay string `json:"delay"`
TimeOut string `json:"timeout"`
Type string `json:"type"`
MaxRetriesDown int `json:"max_retries_down"`
}
type LoadBalancer ¶
type SchedulerHints ¶
type SchedulerHints struct {
Group string `json:"group"`
}
type SecurityGroup ¶
type SecurityGroupRuleForIP ¶
type SecurityGroupRuleForIP struct {
Direction string `json:"direction"`
PortRangeMin string `json:"port_range_min"`
Ethertype string `json:"ethertype"`
PortRangeMax string `json:"port_range_max"`
Protocol string `json:"protocol"`
SecurityGroupID string `json:"security_group_id"`
RemoteIPPrefix string `json:"remote_ip_prefix"`
}
type SecurityGroupRuleForSG ¶
type SecurityGroupRuleForSG struct {
Direction string `json:"direction"`
//PortRangeMin string `json:"port_range_min"`
Ethertype string `json:"ethertype"`
//PortRangeMax string `json:"port_range_max"`
//Protocol string `json:"protocol"`
SecurityGroupID string `json:"security_group_id"`
RemoteGroupID string `json:"remote_group_id"`
}
type SecurityGroups ¶
type SecurityGroups struct {
Name string `json:"name"`
}
type Server ¶
type Server struct {
Name string `json:"name"`
ImageRef string `json:"imageRef"`
FlavorRef string `json:"flavorRef"`
KeyName string `json:"key_name"`
AvailabilityZone string `json:"availability_zone"`
SecurityGroups []SecurityGroups `json:"security_groups"`
BlockDeviceMappingV2 []BlockDeviceMappingV2 `json:"block_device_mapping_v2"`
Networks []Networks `json:"networks"`
UserData string `json:"user_data"`
}
type ServerGroup ¶
type UpdateNodeGroupRequest ¶
Click to show internal directories.
Click to hide internal directories.