Documentation
¶
Index ¶
- func Clientset(cluster *platformv1.Cluster, credential *platformv1.ClusterCredential) (kubernetes.Interface, error)
- type Cluster
- func (c *Cluster) Clientset() (kubernetes.Interface, error)
- func (c *Cluster) ClientsetForBootstrap() (kubernetes.Interface, error)
- func (c *Cluster) Host() (string, error)
- func (c *Cluster) HostForBootstrap() (string, error)
- func (c *Cluster) PlatformClientsetForBootstrap() (platformversionedclient.PlatformV1Interface, 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)
- func (c *Cluster) RegistryApplicationForBootstrap() (applicationversiondclient.ApplicationV1Interface, error)
- func (c *Cluster) RegistryClientsetForBootstrap() (registryversionedclient.RegistryV1Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clientset ¶
func Clientset(cluster *platformv1.Cluster, credential *platformv1.ClusterCredential) (kubernetes.Interface, error)
Types ¶
type Cluster ¶
type Cluster struct { *platformv1.Cluster ClusterCredential *platformv1.ClusterCredential IsCredentialChanged bool }
func (*Cluster) ClientsetForBootstrap ¶
func (c *Cluster) ClientsetForBootstrap() (kubernetes.Interface, error)
func (*Cluster) HostForBootstrap ¶
func (*Cluster) PlatformClientsetForBootstrap ¶ added in v1.6.0
func (c *Cluster) PlatformClientsetForBootstrap() (platformversionedclient.PlatformV1Interface, error)
func (*Cluster) RESTConfig ¶
func (*Cluster) RESTConfigForBootstrap ¶
func (*Cluster) RESTConfigForClientX509 ¶
func (*Cluster) RegistryApplicationForBootstrap ¶ added in v1.8.0
func (c *Cluster) RegistryApplicationForBootstrap() (applicationversiondclient.ApplicationV1Interface, error)
func (*Cluster) RegistryClientsetForBootstrap ¶ added in v1.7.0
func (c *Cluster) RegistryClientsetForBootstrap() (registryversionedclient.RegistryV1Interface, error)
Click to show internal directories.
Click to hide internal directories.