Documentation
¶
Index ¶
- type Cluster
- func (c *Cluster) Clientset() (kubernetes.Interface, error)
- func (c *Cluster) ClientsetForBootstrap() (kubernetes.Interface, error)
- func (c *Cluster) HostForBootstrap() (string, error)
- func (c *Cluster) RESTConfig(config *rest.Config) (*rest.Config, error)
- func (c *Cluster) RESTConfigForBootstrap(config *rest.Config) (*rest.Config, error)
- func (c *Cluster) RESTConfigForClientX509(config *rest.Config, clientCertData []byte, clientKeyData []byte) (*rest.Config, error)
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) ClientsetForBootstrap ¶
func (c *Cluster) ClientsetForBootstrap() (kubernetes.Interface, error)
func (*Cluster) HostForBootstrap ¶
func (*Cluster) RESTConfig ¶
func (*Cluster) RESTConfigForBootstrap ¶
Click to show internal directories.
Click to hide internal directories.