Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubV1Client ¶
type HubV1Client struct {
// contains filtered or unexported fields
}
HubV1Client is used to interact with features provided by the hub.gke.io group.
func New ¶
func New(c rest.Interface) *HubV1Client
New creates a new HubV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*HubV1Client, error)
NewForConfig creates a new HubV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v1.17.0
NewForConfigAndClient creates a new HubV1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *HubV1Client
NewForConfigOrDie creates a new HubV1Client for the given config and panics if there is an error in the config.
func (*HubV1Client) RESTClient ¶
func (c *HubV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.