Documentation ¶
Index ¶
Constants ¶
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "localhost" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/" )
Variables ¶
var Default = NewHTTPClient(nil)
Default kubermatic kubernetes platform API HTTP client.
var DefaultSchemes = []string{"https"}
DefaultSchemes are the default schemes found in Meta (info) section of spec file
Functions ¶
This section is empty.
Types ¶
type KubermaticKubernetesPlatformAPI ¶ added in v2.18.0
type KubermaticKubernetesPlatformAPI struct { Addon addon.ClientService Admin admin.ClientService Aks aks.ClientService Alibaba alibaba.ClientService Allowedregistries allowedregistries.ClientService Allowedregistry allowedregistry.ClientService Anexia anexia.ClientService Aws aws.ClientService Azure azure.ClientService Backupcredentials backupcredentials.ClientService Cniversion cniversion.ClientService Constraint constraint.ClientService Constraints constraints.ClientService Constrainttemplates constrainttemplates.ClientService Credentials credentials.ClientService Datacenter datacenter.ClientService Digitalocean digitalocean.ClientService Eks eks.ClientService Etcdbackupconfig etcdbackupconfig.ClientService Etcdrestore etcdrestore.ClientService Gcp gcp.ClientService Get get.ClientService Gke gke.ClientService Hetzner hetzner.ClientService Kubevirt kubevirt.ClientService Metering metering.ClientService Metric metric.ClientService Mlaadminsetting mlaadminsetting.ClientService Nutanix nutanix.ClientService Openstack openstack.ClientService Operations operations.ClientService Packet packet.ClientService Preset preset.ClientService Project project.ClientService Rulegroup rulegroup.ClientService Seed seed.ClientService Serviceaccounts serviceaccounts.ClientService Settings settings.ClientService Tokens tokens.ClientService User user.ClientService Users users.ClientService Version version.ClientService Versions versions.ClientService Vsphere vsphere.ClientService Transport runtime.ClientTransport }
KubermaticKubernetesPlatformAPI is a client for kubermatic kubernetes platform API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *KubermaticKubernetesPlatformAPI
New creates a new kubermatic kubernetes platform API client
func NewHTTPClient ¶
func NewHTTPClient(formats strfmt.Registry) *KubermaticKubernetesPlatformAPI
NewHTTPClient creates a new kubermatic kubernetes platform API HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *KubermaticKubernetesPlatformAPI
NewHTTPClientWithConfig creates a new kubermatic kubernetes platform API HTTP client, using a customizable transport config.
func (*KubermaticKubernetesPlatformAPI) SetTransport ¶ added in v2.18.0
func (c *KubermaticKubernetesPlatformAPI) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client and all its subresources
type TransportConfig ¶
TransportConfig contains the transport related info, found in the meta section of the spec file.
func DefaultTransportConfig ¶
func DefaultTransportConfig() *TransportConfig
DefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.
func (*TransportConfig) WithBasePath ¶
func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig
WithBasePath overrides the default basePath, provided by the meta section of the spec file.
func (*TransportConfig) WithHost ¶
func (cfg *TransportConfig) WithHost(host string) *TransportConfig
WithHost overrides the default host, provided by the meta section of the spec file.
func (*TransportConfig) WithSchemes ¶
func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig
WithSchemes overrides the default schemes, provided by the meta section of the spec file.