Documentation ¶
Index ¶
- Constants
- type AWSAccountParams
- type AWSAvailabilityZone
- type AWSNodeAz
- type AWSRegionalClusterParams
- type AWSRoute
- type AWSRouteTable
- type AWSSubnet
- type AWSVirtualMachine
- type AWSVpc
- type AviCloud
- type AviConfig
- type AviControllerParams
- type AviNetworkParams
- type AviServiceEngineGroup
- type AviSubnet
- type AviVipNetwork
- type AzureAccountParams
- type AzureInstanceType
- type AzureLocation
- type AzureRegionalClusterParams
- type AzureResourceGroup
- type AzureSubnet
- type AzureVirtualMachine
- type AzureVirtualNetwork
- type ConfigFile
- type ConfigFileInfo
- type DockerDaemonStatus
- type DockerRegionalClusterParams
- type Error
- type FeatureMap
- type Features
- type HTTPProxyConfiguration
- type IdentityManagementConfig
- type LdapParams
- type LdapTestResult
- type NodeType
- type OSInfo
- type ProviderInfo
- type TKGNetwork
- type VSphereAvailabilityZone
- type VSphereCredentials
- type VSphereDatacenter
- type VSphereDatastore
- type VSphereFolder
- type VSphereManagementObject
- type VSphereNetwork
- type VSphereRegion
- type VSphereResourcePool
- type VSphereThumbprint
- type VSphereVirtualMachine
- type Vpc
- type VsphereInfo
- type VsphereRegionalClusterParams
Constants ¶
const ( // IdentityManagementConfigIdmTypeOidc captures enum value "oidc" IdentityManagementConfigIdmTypeOidc string = "oidc" // IdentityManagementConfigIdmTypeLdap captures enum value "ldap" IdentityManagementConfigIdmTypeLdap string = "ldap" // IdentityManagementConfigIdmTypeNone captures enum value "none" IdentityManagementConfigIdmTypeNone string = "none" )
const ( // VSphereManagementObjectResourceTypeDatacenter captures enum value "datacenter" VSphereManagementObjectResourceTypeDatacenter string = "datacenter" // VSphereManagementObjectResourceTypeCluster captures enum value "cluster" VSphereManagementObjectResourceTypeCluster string = "cluster" // VSphereManagementObjectResourceTypeHostgroup captures enum value "hostgroup" VSphereManagementObjectResourceTypeHostgroup string = "hostgroup" // VSphereManagementObjectResourceTypeFolder captures enum value "folder" VSphereManagementObjectResourceTypeFolder string = "folder" // VSphereManagementObjectResourceTypeRespool captures enum value "respool" VSphereManagementObjectResourceTypeRespool string = "respool" // VSphereManagementObjectResourceTypeVM captures enum value "vm" VSphereManagementObjectResourceTypeVM string = "vm" // VSphereManagementObjectResourceTypeDatastore captures enum value "datastore" VSphereManagementObjectResourceTypeDatastore string = "datastore" // VSphereManagementObjectResourceTypeHost captures enum value "host" VSphereManagementObjectResourceTypeHost string = "host" // VSphereManagementObjectResourceTypeNetwork captures enum value "network" VSphereManagementObjectResourceTypeNetwork string = "network" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSAccountParams ¶
type AWSAccountParams struct { // access key ID AccessKeyID string `json:"accessKeyID,omitempty"` // profile name ProfileName string `json:"profileName,omitempty"` // region Region string `json:"region,omitempty"` // secret access key SecretAccessKey string `json:"secretAccessKey,omitempty"` // session token SessionToken string `json:"sessionToken,omitempty"` }
AWSAccountParams a w s account params swagger:model AWSAccountParams
func (*AWSAccountParams) MarshalBinary ¶
func (m *AWSAccountParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSAccountParams) UnmarshalBinary ¶
func (m *AWSAccountParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSAvailabilityZone ¶
type AWSAvailabilityZone struct { // id ID string `json:"id,omitempty"` // name Name string `json:"name,omitempty"` }
AWSAvailabilityZone a w s availability zone swagger:model AWSAvailabilityZone
func (*AWSAvailabilityZone) MarshalBinary ¶
func (m *AWSAvailabilityZone) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSAvailabilityZone) UnmarshalBinary ¶
func (m *AWSAvailabilityZone) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSNodeAz ¶
type AWSNodeAz struct { // name Name string `json:"name,omitempty"` // private subnet ID PrivateSubnetID string `json:"privateSubnetID,omitempty"` // public subnet ID PublicSubnetID string `json:"publicSubnetID,omitempty"` // worker node type WorkerNodeType string `json:"workerNodeType,omitempty"` }
AWSNodeAz a w s node az swagger:model AWSNodeAz
func (*AWSNodeAz) MarshalBinary ¶
MarshalBinary interface implementation
func (*AWSNodeAz) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AWSRegionalClusterParams ¶
type AWSRegionalClusterParams struct { // annotations Annotations map[string]string `json:"annotations,omitempty"` // aws account params AwsAccountParams *AWSAccountParams `json:"awsAccountParams,omitempty"` // bastion host enabled BastionHostEnabled bool `json:"bastionHostEnabled,omitempty"` // ceip opt in CeipOptIn *bool `json:"ceipOptIn,omitempty"` // cluster name ClusterName string `json:"clusterName,omitempty"` // control plane flavor ControlPlaneFlavor string `json:"controlPlaneFlavor,omitempty"` // control plane node type ControlPlaneNodeType string `json:"controlPlaneNodeType,omitempty"` // create cloud formation stack CreateCloudFormationStack bool `json:"createCloudFormationStack,omitempty"` // enable audit logging EnableAuditLogging bool `json:"enableAuditLogging,omitempty"` // identity management IdentityManagement *IdentityManagementConfig `json:"identityManagement,omitempty"` // kubernetes version KubernetesVersion string `json:"kubernetesVersion,omitempty"` // labels Labels map[string]string `json:"labels,omitempty"` // loadbalancer scheme internal LoadbalancerSchemeInternal bool `json:"loadbalancerSchemeInternal,omitempty"` // machine health check enabled MachineHealthCheckEnabled bool `json:"machineHealthCheckEnabled,omitempty"` // networking Networking *TKGNetwork `json:"networking,omitempty"` // num of worker node NumOfWorkerNode int64 `json:"numOfWorkerNode,omitempty"` // os Os *AWSVirtualMachine `json:"os,omitempty"` // ssh key name SSHKeyName string `json:"sshKeyName,omitempty"` // vpc Vpc *AWSVpc `json:"vpc,omitempty"` // worker node type WorkerNodeType string `json:"workerNodeType,omitempty"` }
AWSRegionalClusterParams a w s regional cluster params swagger:model AWSRegionalClusterParams
func (*AWSRegionalClusterParams) MarshalBinary ¶
func (m *AWSRegionalClusterParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSRegionalClusterParams) UnmarshalBinary ¶
func (m *AWSRegionalClusterParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSRoute ¶
type AWSRoute struct { // destination cidr block DestinationCidrBlock string `json:"DestinationCidrBlock,omitempty"` // gateway Id GatewayID string `json:"GatewayId,omitempty"` // state State string `json:"State,omitempty"` }
AWSRoute a w s route swagger:model AWSRoute
func (*AWSRoute) MarshalBinary ¶
MarshalBinary interface implementation
func (*AWSRoute) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AWSRouteTable ¶
type AWSRouteTable struct { // id ID string `json:"id,omitempty"` // routes Routes []*AWSRoute `json:"routes"` // vpc Id VpcID string `json:"vpcId,omitempty"` }
AWSRouteTable a w s route table swagger:model AWSRouteTable
func (*AWSRouteTable) MarshalBinary ¶
func (m *AWSRouteTable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSRouteTable) UnmarshalBinary ¶
func (m *AWSRouteTable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSSubnet ¶
type AWSSubnet struct { // availability zone Id AvailabilityZoneID string `json:"availabilityZoneId,omitempty"` // availability zone name AvailabilityZoneName string `json:"availabilityZoneName,omitempty"` // cidr Cidr string `json:"cidr,omitempty"` // id ID string `json:"id,omitempty"` // is public // Required: true IsPublic *bool `json:"isPublic"` // state State string `json:"state,omitempty"` // vpc Id VpcID string `json:"vpcId,omitempty"` }
AWSSubnet a w s subnet swagger:model AWSSubnet
func (*AWSSubnet) MarshalBinary ¶
MarshalBinary interface implementation
func (*AWSSubnet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AWSVirtualMachine ¶
type AWSVirtualMachine struct { // name Name string `json:"name,omitempty"` // os info OsInfo *OSInfo `json:"osInfo,omitempty"` }
AWSVirtualMachine a w s virtual machine swagger:model AWSVirtualMachine
func (*AWSVirtualMachine) MarshalBinary ¶
func (m *AWSVirtualMachine) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AWSVirtualMachine) UnmarshalBinary ¶
func (m *AWSVirtualMachine) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AWSVpc ¶
type AWSVpc struct { // azs Azs []*AWSNodeAz `json:"azs"` // cidr Cidr string `json:"cidr,omitempty"` // vpc ID VpcID string `json:"vpcID,omitempty"` }
AWSVpc a w s vpc swagger:model AWSVpc
func (*AWSVpc) MarshalBinary ¶
MarshalBinary interface implementation
func (*AWSVpc) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AviCloud ¶
type AviCloud struct { // location Location string `json:"location,omitempty"` // name Name string `json:"name,omitempty"` // uuid UUID string `json:"uuid,omitempty"` }
AviCloud avi cloud swagger:model AviCloud
func (*AviCloud) MarshalBinary ¶
MarshalBinary interface implementation
func (*AviCloud) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AviConfig ¶
type AviConfig struct { // ca cert CaCert string `json:"ca_cert,omitempty"` // cloud Cloud string `json:"cloud,omitempty"` // control plane ha provider ControlPlaneHaProvider bool `json:"controlPlaneHaProvider,omitempty"` // controller Controller string `json:"controller,omitempty"` // labels Labels map[string]string `json:"labels,omitempty"` // management cluster vip network cidr ManagementClusterVipNetworkCidr string `json:"managementClusterVipNetworkCidr,omitempty"` // management cluster vip network name ManagementClusterVipNetworkName string `json:"managementClusterVipNetworkName,omitempty"` // network Network *AviNetworkParams `json:"network,omitempty"` // password Password string `json:"password,omitempty"` // service engine ServiceEngine string `json:"service_engine,omitempty"` // username Username string `json:"username,omitempty"` }
AviConfig avi config swagger:model AviConfig
func (*AviConfig) MarshalBinary ¶
MarshalBinary interface implementation
func (*AviConfig) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AviControllerParams ¶
type AviControllerParams struct { // c a data CAData string `json:"CAData,omitempty"` // host Host string `json:"host,omitempty"` // password Password string `json:"password,omitempty"` // tenant Tenant string `json:"tenant,omitempty"` // username Username string `json:"username,omitempty"` }
AviControllerParams avi controller params swagger:model AviControllerParams
func (*AviControllerParams) MarshalBinary ¶
func (m *AviControllerParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AviControllerParams) UnmarshalBinary ¶
func (m *AviControllerParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AviNetworkParams ¶
type AviNetworkParams struct { // cidr Cidr string `json:"cidr,omitempty"` // name Name string `json:"name,omitempty"` }
AviNetworkParams avi network params swagger:model AviNetworkParams
func (*AviNetworkParams) MarshalBinary ¶
func (m *AviNetworkParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AviNetworkParams) UnmarshalBinary ¶
func (m *AviNetworkParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AviServiceEngineGroup ¶
type AviServiceEngineGroup struct { // location Location string `json:"location,omitempty"` // name Name string `json:"name,omitempty"` // uuid UUID string `json:"uuid,omitempty"` }
AviServiceEngineGroup avi service engine group swagger:model AviServiceEngineGroup
func (*AviServiceEngineGroup) MarshalBinary ¶
func (m *AviServiceEngineGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AviServiceEngineGroup) UnmarshalBinary ¶
func (m *AviServiceEngineGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AviSubnet ¶
type AviSubnet struct { // family Family string `json:"family,omitempty"` // subnet Subnet string `json:"subnet,omitempty"` }
AviSubnet avi subnet swagger:model AviSubnet
func (*AviSubnet) MarshalBinary ¶
MarshalBinary interface implementation
func (*AviSubnet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AviVipNetwork ¶
type AviVipNetwork struct { // cloud Cloud string `json:"cloud,omitempty"` // configed subnets ConfigedSubnets []*AviSubnet `json:"configedSubnets"` // name Name string `json:"name,omitempty"` // uuid UUID string `json:"uuid,omitempty"` }
AviVipNetwork avi vip network swagger:model AviVipNetwork
func (*AviVipNetwork) MarshalBinary ¶
func (m *AviVipNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AviVipNetwork) UnmarshalBinary ¶
func (m *AviVipNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureAccountParams ¶
type AzureAccountParams struct { // azure cloud AzureCloud string `json:"azureCloud,omitempty"` // client Id ClientID string `json:"clientId,omitempty"` // client secret ClientSecret string `json:"clientSecret,omitempty"` // subscription Id SubscriptionID string `json:"subscriptionId,omitempty"` // tenant Id TenantID string `json:"tenantId,omitempty"` }
AzureAccountParams azure account params swagger:model AzureAccountParams
func (*AzureAccountParams) MarshalBinary ¶
func (m *AzureAccountParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureAccountParams) UnmarshalBinary ¶
func (m *AzureAccountParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureInstanceType ¶
type AzureInstanceType struct { // family Family string `json:"family,omitempty"` // name Name string `json:"name,omitempty"` // size Size string `json:"size,omitempty"` // tier Tier string `json:"tier,omitempty"` // zones Zones []string `json:"zones"` }
AzureInstanceType azure instance type swagger:model AzureInstanceType
func (*AzureInstanceType) MarshalBinary ¶
func (m *AzureInstanceType) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureInstanceType) UnmarshalBinary ¶
func (m *AzureInstanceType) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureLocation ¶
type AzureLocation struct { // display name DisplayName string `json:"displayName,omitempty"` // name Name string `json:"name,omitempty"` }
AzureLocation azure location swagger:model AzureLocation
func (*AzureLocation) MarshalBinary ¶
func (m *AzureLocation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureLocation) UnmarshalBinary ¶
func (m *AzureLocation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureRegionalClusterParams ¶
type AzureRegionalClusterParams struct { // annotations Annotations map[string]string `json:"annotations,omitempty"` // azure account params AzureAccountParams *AzureAccountParams `json:"azureAccountParams,omitempty"` // ceip opt in CeipOptIn *bool `json:"ceipOptIn,omitempty"` // cluster name ClusterName string `json:"clusterName,omitempty"` // control plane flavor ControlPlaneFlavor string `json:"controlPlaneFlavor,omitempty"` // control plane machine type ControlPlaneMachineType string `json:"controlPlaneMachineType,omitempty"` // control plane subnet ControlPlaneSubnet string `json:"controlPlaneSubnet,omitempty"` // control plane subnet cidr ControlPlaneSubnetCidr string `json:"controlPlaneSubnetCidr,omitempty"` // enable audit logging EnableAuditLogging bool `json:"enableAuditLogging,omitempty"` // frontend private Ip FrontendPrivateIP string `json:"frontendPrivateIp,omitempty"` // identity management IdentityManagement *IdentityManagementConfig `json:"identityManagement,omitempty"` // is private cluster IsPrivateCluster bool `json:"isPrivateCluster,omitempty"` // kubernetes version KubernetesVersion string `json:"kubernetesVersion,omitempty"` // labels Labels map[string]string `json:"labels,omitempty"` // location Location string `json:"location,omitempty"` // machine health check enabled MachineHealthCheckEnabled bool `json:"machineHealthCheckEnabled,omitempty"` // networking Networking *TKGNetwork `json:"networking,omitempty"` // num of worker nodes NumOfWorkerNodes string `json:"numOfWorkerNodes,omitempty"` // os Os *AzureVirtualMachine `json:"os,omitempty"` // resource group ResourceGroup string `json:"resourceGroup,omitempty"` // ssh public key SSHPublicKey string `json:"sshPublicKey,omitempty"` // vnet cidr VnetCidr string `json:"vnetCidr,omitempty"` // vnet name VnetName string `json:"vnetName,omitempty"` // vnet resource group VnetResourceGroup string `json:"vnetResourceGroup,omitempty"` // worker machine type WorkerMachineType string `json:"workerMachineType,omitempty"` // worker node subnet WorkerNodeSubnet string `json:"workerNodeSubnet,omitempty"` // worker node subnet cidr WorkerNodeSubnetCidr string `json:"workerNodeSubnetCidr,omitempty"` }
AzureRegionalClusterParams azure regional cluster params swagger:model AzureRegionalClusterParams
func (*AzureRegionalClusterParams) MarshalBinary ¶
func (m *AzureRegionalClusterParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureRegionalClusterParams) UnmarshalBinary ¶
func (m *AzureRegionalClusterParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureResourceGroup ¶
type AzureResourceGroup struct { // id ID string `json:"id,omitempty"` // location // Required: true Location *string `json:"location"` // name // Required: true Name *string `json:"name"` }
AzureResourceGroup azure resource group swagger:model AzureResourceGroup
func (*AzureResourceGroup) MarshalBinary ¶
func (m *AzureResourceGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureResourceGroup) UnmarshalBinary ¶
func (m *AzureResourceGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureSubnet ¶
type AzureSubnet struct { // cidr Cidr string `json:"cidr,omitempty"` // name Name string `json:"name,omitempty"` }
AzureSubnet azure subnet swagger:model AzureSubnet
func (*AzureSubnet) MarshalBinary ¶
func (m *AzureSubnet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureSubnet) UnmarshalBinary ¶
func (m *AzureSubnet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureVirtualMachine ¶
type AzureVirtualMachine struct { // name Name string `json:"name,omitempty"` // os info OsInfo *OSInfo `json:"osInfo,omitempty"` }
AzureVirtualMachine azure virtual machine swagger:model AzureVirtualMachine
func (*AzureVirtualMachine) MarshalBinary ¶
func (m *AzureVirtualMachine) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureVirtualMachine) UnmarshalBinary ¶
func (m *AzureVirtualMachine) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AzureVirtualNetwork ¶
type AzureVirtualNetwork struct { // cidr block // Required: true CidrBlock *string `json:"cidrBlock"` // id ID string `json:"id,omitempty"` // location // Required: true Location *string `json:"location"` // name // Required: true Name *string `json:"name"` // subnets Subnets []*AzureSubnet `json:"subnets"` }
AzureVirtualNetwork azure virtual network swagger:model AzureVirtualNetwork
func (*AzureVirtualNetwork) MarshalBinary ¶
func (m *AzureVirtualNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AzureVirtualNetwork) UnmarshalBinary ¶
func (m *AzureVirtualNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigFile ¶ added in v0.14.0
type ConfigFile struct { // filecontents Filecontents string `json:"filecontents,omitempty"` }
ConfigFile config file swagger:model ConfigFile
func (*ConfigFile) MarshalBinary ¶ added in v0.14.0
func (m *ConfigFile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigFile) UnmarshalBinary ¶ added in v0.14.0
func (m *ConfigFile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConfigFileInfo ¶
type ConfigFileInfo struct { // path Path string `json:"path,omitempty"` }
ConfigFileInfo config file info swagger:model ConfigFileInfo
func (*ConfigFileInfo) MarshalBinary ¶
func (m *ConfigFileInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConfigFileInfo) UnmarshalBinary ¶
func (m *ConfigFileInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DockerDaemonStatus ¶
type DockerDaemonStatus struct { // status Status bool `json:"status,omitempty"` }
DockerDaemonStatus docker daemon status swagger:model DockerDaemonStatus
func (*DockerDaemonStatus) MarshalBinary ¶
func (m *DockerDaemonStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DockerDaemonStatus) UnmarshalBinary ¶
func (m *DockerDaemonStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DockerRegionalClusterParams ¶
type DockerRegionalClusterParams struct { // annotations Annotations map[string]string `json:"annotations,omitempty"` // ceip opt in CeipOptIn *bool `json:"ceipOptIn,omitempty"` // cluster name ClusterName string `json:"clusterName,omitempty"` // control plane flavor ControlPlaneFlavor string `json:"controlPlaneFlavor,omitempty"` // identity management IdentityManagement *IdentityManagementConfig `json:"identityManagement,omitempty"` // kubernetes version KubernetesVersion string `json:"kubernetesVersion,omitempty"` // labels Labels map[string]string `json:"labels,omitempty"` // machine health check enabled MachineHealthCheckEnabled bool `json:"machineHealthCheckEnabled,omitempty"` // networking Networking *TKGNetwork `json:"networking,omitempty"` // num of worker nodes NumOfWorkerNodes string `json:"numOfWorkerNodes,omitempty"` }
DockerRegionalClusterParams docker regional cluster params swagger:model DockerRegionalClusterParams
func (*DockerRegionalClusterParams) MarshalBinary ¶
func (m *DockerRegionalClusterParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DockerRegionalClusterParams) UnmarshalBinary ¶
func (m *DockerRegionalClusterParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // message Message string `json:"message,omitempty"` }
Error error swagger:model Error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FeatureMap ¶ added in v0.8.0
FeatureMap feature map swagger:model FeatureMap
type Features ¶ added in v0.8.0
type Features map[string]FeatureMap
Features features swagger:model Features
type HTTPProxyConfiguration ¶
type HTTPProxyConfiguration struct { // HTTP proxy password HTTPProxyPassword string `json:"HTTPProxyPassword,omitempty"` // HTTP proxy URL HTTPProxyURL string `json:"HTTPProxyURL,omitempty"` // HTTP proxy username HTTPProxyUsername string `json:"HTTPProxyUsername,omitempty"` // HTTPS proxy password HTTPSProxyPassword string `json:"HTTPSProxyPassword,omitempty"` // HTTPS proxy URL HTTPSProxyURL string `json:"HTTPSProxyURL,omitempty"` // HTTPS proxy username HTTPSProxyUsername string `json:"HTTPSProxyUsername,omitempty"` // enabled Enabled bool `json:"enabled,omitempty"` // no proxy NoProxy string `json:"noProxy,omitempty"` }
HTTPProxyConfiguration HTTP proxy configuration swagger:model HTTPProxyConfiguration
func (*HTTPProxyConfiguration) MarshalBinary ¶
func (m *HTTPProxyConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HTTPProxyConfiguration) UnmarshalBinary ¶
func (m *HTTPProxyConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IdentityManagementConfig ¶
type IdentityManagementConfig struct { // idm type // Required: true // Enum: [oidc ldap none] IdmType *string `json:"idm_type"` // ldap bind dn LdapBindDn string `json:"ldap_bind_dn,omitempty"` // ldap bind password LdapBindPassword string `json:"ldap_bind_password,omitempty"` // ldap group search base dn LdapGroupSearchBaseDn string `json:"ldap_group_search_base_dn,omitempty"` // ldap group search filter LdapGroupSearchFilter string `json:"ldap_group_search_filter,omitempty"` // ldap group search group attr LdapGroupSearchGroupAttr string `json:"ldap_group_search_group_attr,omitempty"` // ldap group search name attr LdapGroupSearchNameAttr string `json:"ldap_group_search_name_attr,omitempty"` // ldap group search user attr LdapGroupSearchUserAttr string `json:"ldap_group_search_user_attr,omitempty"` // ldap root ca LdapRootCa string `json:"ldap_root_ca,omitempty"` // ldap url LdapURL string `json:"ldap_url,omitempty"` // ldap user search base dn LdapUserSearchBaseDn string `json:"ldap_user_search_base_dn,omitempty"` // ldap user search email attr LdapUserSearchEmailAttr string `json:"ldap_user_search_email_attr,omitempty"` // ldap user search filter LdapUserSearchFilter string `json:"ldap_user_search_filter,omitempty"` // ldap user search id attr LdapUserSearchIDAttr string `json:"ldap_user_search_id_attr,omitempty"` // ldap user search name attr LdapUserSearchNameAttr string `json:"ldap_user_search_name_attr,omitempty"` // ldap user search username LdapUserSearchUsername string `json:"ldap_user_search_username,omitempty"` // oidc claim mappings OidcClaimMappings map[string]string `json:"oidc_claim_mappings,omitempty"` // oidc client id OidcClientID string `json:"oidc_client_id,omitempty"` // oidc client secret OidcClientSecret string `json:"oidc_client_secret,omitempty"` // oidc provider name OidcProviderName string `json:"oidc_provider_name,omitempty"` // oidc provider url // Format: uri OidcProviderURL strfmt.URI `json:"oidc_provider_url,omitempty"` // oidc scope OidcScope string `json:"oidc_scope,omitempty"` // oidc skip verify cert OidcSkipVerifyCert bool `json:"oidc_skip_verify_cert,omitempty"` }
IdentityManagementConfig identity management config swagger:model IdentityManagementConfig
func (*IdentityManagementConfig) MarshalBinary ¶
func (m *IdentityManagementConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IdentityManagementConfig) UnmarshalBinary ¶
func (m *IdentityManagementConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*IdentityManagementConfig) UnmarshalJSON ¶
func (m *IdentityManagementConfig) UnmarshalJSON(b []byte) error
type LdapParams ¶
type LdapParams struct { // ldap bind dn LdapBindDn string `json:"ldap_bind_dn,omitempty"` // ldap bind password LdapBindPassword string `json:"ldap_bind_password,omitempty"` // ldap group search base dn LdapGroupSearchBaseDn string `json:"ldap_group_search_base_dn,omitempty"` // ldap group search filter LdapGroupSearchFilter string `json:"ldap_group_search_filter,omitempty"` // ldap group search group attr LdapGroupSearchGroupAttr string `json:"ldap_group_search_group_attr,omitempty"` // ldap group search name attr LdapGroupSearchNameAttr string `json:"ldap_group_search_name_attr,omitempty"` // ldap group search user attr LdapGroupSearchUserAttr string `json:"ldap_group_search_user_attr,omitempty"` // ldap root ca LdapRootCa string `json:"ldap_root_ca,omitempty"` // ldap test group LdapTestGroup string `json:"ldap_test_group,omitempty"` // ldap test user LdapTestUser string `json:"ldap_test_user,omitempty"` // ldap url LdapURL string `json:"ldap_url,omitempty"` // ldap user search base dn LdapUserSearchBaseDn string `json:"ldap_user_search_base_dn,omitempty"` // ldap user search email attr LdapUserSearchEmailAttr string `json:"ldap_user_search_email_attr,omitempty"` // ldap user search filter LdapUserSearchFilter string `json:"ldap_user_search_filter,omitempty"` // ldap user search id attr LdapUserSearchIDAttr string `json:"ldap_user_search_id_attr,omitempty"` // ldap user search name attr LdapUserSearchNameAttr string `json:"ldap_user_search_name_attr,omitempty"` // ldap user search username LdapUserSearchUsername string `json:"ldap_user_search_username,omitempty"` }
LdapParams ldap params swagger:model LdapParams
func (*LdapParams) MarshalBinary ¶
func (m *LdapParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LdapParams) UnmarshalBinary ¶
func (m *LdapParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*LdapParams) UnmarshalJSON ¶
func (m *LdapParams) UnmarshalJSON(b []byte) error
type LdapTestResult ¶
type LdapTestResult struct { // code Code int64 `json:"code,omitempty"` // desc Desc string `json:"desc,omitempty"` }
LdapTestResult ldap test result swagger:model LdapTestResult
func (*LdapTestResult) MarshalBinary ¶
func (m *LdapTestResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LdapTestResult) UnmarshalBinary ¶
func (m *LdapTestResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeType ¶
type NodeType struct { // cpu CPU int64 `json:"cpu,omitempty"` // disk Disk int64 `json:"disk,omitempty"` // name Name string `json:"name,omitempty"` // ram RAM int64 `json:"ram,omitempty"` }
NodeType node type swagger:model NodeType
func (*NodeType) MarshalBinary ¶
MarshalBinary interface implementation
func (*NodeType) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OSInfo ¶
type OSInfo struct { // arch Arch string `json:"arch,omitempty"` // name Name string `json:"name,omitempty"` // version Version string `json:"version,omitempty"` }
OSInfo o s info swagger:model OSInfo
func (*OSInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*OSInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ProviderInfo ¶
type ProviderInfo struct { // provider Provider string `json:"provider,omitempty"` // tkr version TkrVersion string `json:"tkrVersion,omitempty"` }
ProviderInfo provider info swagger:model providerInfo
func (*ProviderInfo) MarshalBinary ¶
func (m *ProviderInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProviderInfo) UnmarshalBinary ¶
func (m *ProviderInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TKGNetwork ¶
type TKGNetwork struct { // cluster DNS name ClusterDNSName string `json:"clusterDNSName,omitempty"` // cluster node c ID r ClusterNodeCIDR string `json:"clusterNodeCIDR,omitempty"` // cluster pod c ID r ClusterPodCIDR string `json:"clusterPodCIDR,omitempty"` // cluster service c ID r ClusterServiceCIDR string `json:"clusterServiceCIDR,omitempty"` // cni type CniType string `json:"cniType,omitempty"` // http proxy configuration HTTPProxyConfiguration *HTTPProxyConfiguration `json:"httpProxyConfiguration,omitempty"` // network name NetworkName string `json:"networkName,omitempty"` }
TKGNetwork t k g network swagger:model TKGNetwork
func (*TKGNetwork) MarshalBinary ¶
func (m *TKGNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TKGNetwork) UnmarshalBinary ¶
func (m *TKGNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereAvailabilityZone ¶
type VSphereAvailabilityZone struct { // moid Moid string `json:"moid,omitempty"` // name Name string `json:"name,omitempty"` }
VSphereAvailabilityZone v sphere availability zone swagger:model VSphereAvailabilityZone
func (*VSphereAvailabilityZone) MarshalBinary ¶
func (m *VSphereAvailabilityZone) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereAvailabilityZone) UnmarshalBinary ¶
func (m *VSphereAvailabilityZone) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereCredentials ¶
type VSphereCredentials struct { // host Host string `json:"host,omitempty"` // insecure Insecure *bool `json:"insecure,omitempty"` // password Password string `json:"password,omitempty"` // thumbprint Thumbprint string `json:"thumbprint,omitempty"` // username Username string `json:"username,omitempty"` }
VSphereCredentials v sphere credentials swagger:model VSphereCredentials
func (*VSphereCredentials) MarshalBinary ¶
func (m *VSphereCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereCredentials) UnmarshalBinary ¶
func (m *VSphereCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereDatacenter ¶
type VSphereDatacenter struct { // moid Moid string `json:"moid,omitempty"` // name Name string `json:"name,omitempty"` }
VSphereDatacenter v sphere datacenter swagger:model VSphereDatacenter
func (*VSphereDatacenter) MarshalBinary ¶
func (m *VSphereDatacenter) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereDatacenter) UnmarshalBinary ¶
func (m *VSphereDatacenter) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereDatastore ¶
type VSphereDatastore struct { // moid Moid string `json:"moid,omitempty"` // name Name string `json:"name,omitempty"` }
VSphereDatastore v sphere datastore swagger:model VSphereDatastore
func (*VSphereDatastore) MarshalBinary ¶
func (m *VSphereDatastore) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereDatastore) UnmarshalBinary ¶
func (m *VSphereDatastore) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereFolder ¶
type VSphereFolder struct { // moid Moid string `json:"moid,omitempty"` // name Name string `json:"name,omitempty"` }
VSphereFolder v sphere folder swagger:model VSphereFolder
func (*VSphereFolder) MarshalBinary ¶
func (m *VSphereFolder) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereFolder) UnmarshalBinary ¶
func (m *VSphereFolder) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereManagementObject ¶
type VSphereManagementObject struct { // moid Moid string `json:"moid,omitempty"` // name Name string `json:"name,omitempty"` // parent moid ParentMoid string `json:"parentMoid,omitempty"` // path Path string `json:"path,omitempty"` // resource type // Enum: [datacenter cluster hostgroup folder respool vm datastore host network] ResourceType string `json:"resourceType,omitempty"` }
VSphereManagementObject v sphere management object swagger:model VSphereManagementObject
func (*VSphereManagementObject) MarshalBinary ¶
func (m *VSphereManagementObject) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereManagementObject) UnmarshalBinary ¶
func (m *VSphereManagementObject) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereNetwork ¶
type VSphereNetwork struct { // display name DisplayName string `json:"displayName,omitempty"` // moid Moid string `json:"moid,omitempty"` // name Name string `json:"name,omitempty"` }
VSphereNetwork v sphere network swagger:model VSphereNetwork
func (*VSphereNetwork) MarshalBinary ¶
func (m *VSphereNetwork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereNetwork) UnmarshalBinary ¶
func (m *VSphereNetwork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereRegion ¶
type VSphereRegion struct { // moid Moid string `json:"moid,omitempty"` // name Name string `json:"name,omitempty"` // zones Zones []*VSphereAvailabilityZone `json:"zones"` }
VSphereRegion v sphere region swagger:model VSphereRegion
func (*VSphereRegion) MarshalBinary ¶
func (m *VSphereRegion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereRegion) UnmarshalBinary ¶
func (m *VSphereRegion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereResourcePool ¶
type VSphereResourcePool struct { // moid Moid string `json:"moid,omitempty"` // name Name string `json:"name,omitempty"` }
VSphereResourcePool v sphere resource pool swagger:model VSphereResourcePool
func (*VSphereResourcePool) MarshalBinary ¶
func (m *VSphereResourcePool) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereResourcePool) UnmarshalBinary ¶
func (m *VSphereResourcePool) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereThumbprint ¶
type VSphereThumbprint struct { // insecure Insecure *bool `json:"insecure,omitempty"` // thumbprint Thumbprint string `json:"thumbprint,omitempty"` }
VSphereThumbprint v sphere thumbprint swagger:model VSphereThumbprint
func (*VSphereThumbprint) MarshalBinary ¶
func (m *VSphereThumbprint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereThumbprint) UnmarshalBinary ¶
func (m *VSphereThumbprint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VSphereVirtualMachine ¶
type VSphereVirtualMachine struct { // is template // Required: true IsTemplate *bool `json:"isTemplate"` // k8s version K8sVersion string `json:"k8sVersion,omitempty"` // moid Moid string `json:"moid,omitempty"` // name Name string `json:"name,omitempty"` // os info OsInfo *OSInfo `json:"osInfo,omitempty"` }
VSphereVirtualMachine v sphere virtual machine swagger:model VSphereVirtualMachine
func (*VSphereVirtualMachine) MarshalBinary ¶
func (m *VSphereVirtualMachine) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereVirtualMachine) UnmarshalBinary ¶
func (m *VSphereVirtualMachine) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Vpc ¶
type Vpc struct { // cidr Cidr string `json:"cidr,omitempty"` // id ID string `json:"id,omitempty"` }
Vpc vpc swagger:model vpc
func (*Vpc) MarshalBinary ¶
MarshalBinary interface implementation
func (*Vpc) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VsphereInfo ¶
type VsphereInfo struct { // has pacific HasPacific string `json:"hasPacific,omitempty"` // version Version string `json:"version,omitempty"` }
VsphereInfo vsphere info swagger:model vsphereInfo
func (*VsphereInfo) MarshalBinary ¶
func (m *VsphereInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VsphereInfo) UnmarshalBinary ¶
func (m *VsphereInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VsphereRegionalClusterParams ¶
type VsphereRegionalClusterParams struct { // annotations Annotations map[string]string `json:"annotations,omitempty"` // avi config AviConfig *AviConfig `json:"aviConfig,omitempty"` // ceip opt in CeipOptIn *bool `json:"ceipOptIn,omitempty"` // cluster name ClusterName string `json:"clusterName,omitempty"` // control plane endpoint ControlPlaneEndpoint string `json:"controlPlaneEndpoint,omitempty"` // control plane flavor ControlPlaneFlavor string `json:"controlPlaneFlavor,omitempty"` // control plane node type ControlPlaneNodeType string `json:"controlPlaneNodeType,omitempty"` // datacenter Datacenter string `json:"datacenter,omitempty"` // datastore Datastore string `json:"datastore,omitempty"` // enable audit logging EnableAuditLogging bool `json:"enableAuditLogging,omitempty"` // folder Folder string `json:"folder,omitempty"` // identity management IdentityManagement *IdentityManagementConfig `json:"identityManagement,omitempty"` // ip family IPFamily string `json:"ipFamily,omitempty"` // kubernetes version KubernetesVersion string `json:"kubernetesVersion,omitempty"` // labels Labels map[string]string `json:"labels,omitempty"` // machine health check enabled MachineHealthCheckEnabled bool `json:"machineHealthCheckEnabled,omitempty"` // networking Networking *TKGNetwork `json:"networking,omitempty"` // num of worker node NumOfWorkerNode int64 `json:"numOfWorkerNode,omitempty"` // os Os *VSphereVirtualMachine `json:"os,omitempty"` // resource pool ResourcePool string `json:"resourcePool,omitempty"` // ssh key SSHKey string `json:"ssh_key,omitempty"` // vsphere credentials VsphereCredentials *VSphereCredentials `json:"vsphereCredentials,omitempty"` // worker node type WorkerNodeType string `json:"workerNodeType,omitempty"` }
VsphereRegionalClusterParams vsphere regional cluster params swagger:model VsphereRegionalClusterParams
func (*VsphereRegionalClusterParams) MarshalBinary ¶
func (m *VsphereRegionalClusterParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VsphereRegionalClusterParams) UnmarshalBinary ¶
func (m *VsphereRegionalClusterParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- a_w_s_account_params.go
- a_w_s_availability_zone.go
- a_w_s_node_az.go
- a_w_s_regional_cluster_params.go
- a_w_s_route.go
- a_w_s_route_table.go
- a_w_s_subnet.go
- a_w_s_virtual_machine.go
- a_w_s_vpc.go
- avi_cloud.go
- avi_config.go
- avi_controller_params.go
- avi_network_params.go
- avi_service_engine_group.go
- avi_subnet.go
- avi_vip_network.go
- azure_account_params.go
- azure_instance_type.go
- azure_location.go
- azure_regional_cluster_params.go
- azure_resource_group.go
- azure_subnet.go
- azure_virtual_machine.go
- azure_virtual_network.go
- config_file.go
- config_file_info.go
- docker_daemon_status.go
- docker_regional_cluster_params.go
- error.go
- feature_map.go
- features.go
- http_proxy_configuration.go
- identity_management_config.go
- ldap_params.go
- ldap_test_result.go
- node_type.go
- o_s_info.go
- provider_info.go
- t_k_g_network.go
- v_sphere_availability_zone.go
- v_sphere_credentials.go
- v_sphere_datacenter.go
- v_sphere_datastore.go
- v_sphere_folder.go
- v_sphere_management_object.go
- v_sphere_network.go
- v_sphere_region.go
- v_sphere_resource_pool.go
- v_sphere_thumbprint.go
- v_sphere_virtual_machine.go
- vpc.go
- vsphere_info.go
- vsphere_regional_cluster_params.go