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 FrontendsV1Client ¶
type FrontendsV1Client struct {
// contains filtered or unexported fields
}
FrontendsV1Client is used to interact with features provided by the frontends.pml.com.cn group.
func New ¶
func New(c rest.Interface) *FrontendsV1Client
New creates a new FrontendsV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*FrontendsV1Client, error)
NewForConfig creates a new FrontendsV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new FrontendsV1Client 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) *FrontendsV1Client
NewForConfigOrDie creates a new FrontendsV1Client for the given config and panics if there is an error in the config.
func (*FrontendsV1Client) RESTClient ¶
func (c *FrontendsV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FrontendsV1Client) Vhosts ¶
func (c *FrontendsV1Client) Vhosts(namespace string) VhostInterface
type FrontendsV1Interface ¶
type FrontendsV1Interface interface { RESTClient() rest.Interface VhostsGetter }
type VhostExpansion ¶
type VhostExpansion interface{}
type VhostInterface ¶
type VhostInterface interface { Create(ctx context.Context, vhost *v1.Vhost, opts metav1.CreateOptions) (*v1.Vhost, error) Update(ctx context.Context, vhost *v1.Vhost, opts metav1.UpdateOptions) (*v1.Vhost, error) UpdateStatus(ctx context.Context, vhost *v1.Vhost, opts metav1.UpdateOptions) (*v1.Vhost, error) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Vhost, error) List(ctx context.Context, opts metav1.ListOptions) (*v1.VhostList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Vhost, err error) VhostExpansion }
VhostInterface has methods to work with Vhost resources.
type VhostsGetter ¶
type VhostsGetter interface {
Vhosts(namespace string) VhostInterface
}
VhostsGetter has a method to return a VhostInterface. A group's client should implement this interface.