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 CustomResourceExpansion ¶
type CustomResourceExpansion interface{}
type CustomResourceInterface ¶
type CustomResourceInterface interface { Create(*v1.CustomResource) (*v1.CustomResource, error) Update(*v1.CustomResource) (*v1.CustomResource, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.CustomResource, error) List(opts metav1.ListOptions) (*v1.CustomResourceList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.CustomResource, err error) CustomResourceExpansion }
CustomResourceInterface has methods to work with CustomResource resources.
type CustomResourcesGetter ¶
type CustomResourcesGetter interface {
CustomResources(namespace string) CustomResourceInterface
}
CustomResourcesGetter has a method to return a CustomResourceInterface. A group's client should implement this interface.
type NokubeV1Client ¶
type NokubeV1Client struct {
// contains filtered or unexported fields
}
NokubeV1Client is used to interact with features provided by the nokube.xyz group.
func New ¶
func New(c rest.Interface) *NokubeV1Client
New creates a new NokubeV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*NokubeV1Client, error)
NewForConfig creates a new NokubeV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *NokubeV1Client
NewForConfigOrDie creates a new NokubeV1Client for the given config and panics if there is an error in the config.
func (*NokubeV1Client) CustomResources ¶
func (c *NokubeV1Client) CustomResources(namespace string) CustomResourceInterface
func (*NokubeV1Client) RESTClient ¶
func (c *NokubeV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type NokubeV1Interface ¶
type NokubeV1Interface interface { RESTClient() rest.Interface CustomResourcesGetter }