Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NginxClient ¶
type NginxClient struct {
// contains filtered or unexported fields
}
NginxClient implements NginxGetter
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*NginxClient, error)
NewForConfig return NginxClient
func (*NginxClient) Nginxes ¶
func (c *NginxClient) Nginxes(namespace string) NginxInterface
type NginxGetter ¶
type NginxGetter interface {
Nginxes(namespace string) NginxInterface
}
NginxGetter has a method to return a NginxInterface. A group's client should implement this interface.
type NginxInterface ¶
type NginxInterface interface { Create(ctx context.Context, nginx *devopsV1.Nginx, opts metaV1.CreateOptions) (*devopsV1.Nginx, error) Update(ctx context.Context, nginx *devopsV1.Nginx, opts metaV1.UpdateOptions) (*devopsV1.Nginx, error) UpdateStatus(ctx context.Context, nginx *devopsV1.Nginx, opts metaV1.UpdateOptions) (*devopsV1.Nginx, 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) (*devopsV1.Nginx, error) List(ctx context.Context, opts metaV1.ListOptions) (*devopsV1.NginxList, 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 *devopsV1.Nginx, err error) }
Click to show internal directories.
Click to hide internal directories.