types

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	*platform.Cluster
	ClusterCredential *platform.ClusterCredential
}

func GetCluster

func GetCluster(ctx context.Context, platformClient internalversion.PlatformInterface, cluster *platform.Cluster) (*Cluster, error)

func GetClusterByName

func GetClusterByName(ctx context.Context, platformClient internalversion.PlatformInterface, name string) (*Cluster, error)

func (*Cluster) Clientset

func (c *Cluster) Clientset() (kubernetes.Interface, error)

func (*Cluster) ClientsetForBootstrap

func (c *Cluster) ClientsetForBootstrap() (kubernetes.Interface, error)

func (*Cluster) HostForBootstrap

func (c *Cluster) HostForBootstrap() (string, error)

func (*Cluster) RESTConfig

func (c *Cluster) RESTConfig(config *rest.Config) (*rest.Config, error)

func (*Cluster) RESTConfigForBootstrap

func (c *Cluster) RESTConfigForBootstrap(config *rest.Config) (*rest.Config, error)

func (*Cluster) RESTConfigForClientX509

func (c *Cluster) RESTConfigForClientX509(config *rest.Config, clientCertData []byte,
	clientKeyData []byte) (*rest.Config, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL