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 AppliesGetter ¶
type AppliesGetter interface {
Applies(namespace string) ApplyInterface
}
AppliesGetter has a method to return a ApplyInterface. A group's client should implement this interface.
type ApplyExpansion ¶
type ApplyExpansion interface{}
type ApplyInterface ¶
type ApplyInterface interface { Create(ctx context.Context, apply *v1alpha1.Apply, opts v1.CreateOptions) (*v1alpha1.Apply, error) Update(ctx context.Context, apply *v1alpha1.Apply, opts v1.UpdateOptions) (*v1alpha1.Apply, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Apply, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ApplyList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Apply, err error) ApplyExpansion }
ApplyInterface has methods to work with Apply resources.
type BaetylV1alpha1Client ¶
type BaetylV1alpha1Client struct {
// contains filtered or unexported fields
}
BaetylV1alpha1Client is used to interact with features provided by the baetyl.apis group.
func New ¶
func New(c rest.Interface) *BaetylV1alpha1Client
New creates a new BaetylV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*BaetylV1alpha1Client, error)
NewForConfig creates a new BaetylV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *BaetylV1alpha1Client
NewForConfigOrDie creates a new BaetylV1alpha1Client for the given config and panics if there is an error in the config.
func (*BaetylV1alpha1Client) Applies ¶
func (c *BaetylV1alpha1Client) Applies(namespace string) ApplyInterface
func (*BaetylV1alpha1Client) Clusters ¶
func (c *BaetylV1alpha1Client) Clusters(namespace string) ClusterInterface
func (*BaetylV1alpha1Client) RESTClient ¶
func (c *BaetylV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*BaetylV1alpha1Client) Templates ¶
func (c *BaetylV1alpha1Client) Templates(namespace string) TemplateInterface
type BaetylV1alpha1Interface ¶
type BaetylV1alpha1Interface interface { RESTClient() rest.Interface AppliesGetter ClustersGetter TemplatesGetter }
type ClusterExpansion ¶
type ClusterExpansion interface{}
type ClusterInterface ¶
type ClusterInterface interface { Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (*v1alpha1.Cluster, error) Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Cluster, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Cluster, err error) ClusterExpansion }
ClusterInterface has methods to work with Cluster resources.
type ClustersGetter ¶
type ClustersGetter interface {
Clusters(namespace string) ClusterInterface
}
ClustersGetter has a method to return a ClusterInterface. A group's client should implement this interface.
type TemplateExpansion ¶
type TemplateExpansion interface{}
type TemplateInterface ¶
type TemplateInterface interface { Create(ctx context.Context, template *v1alpha1.Template, opts v1.CreateOptions) (*v1alpha1.Template, error) Update(ctx context.Context, template *v1alpha1.Template, opts v1.UpdateOptions) (*v1alpha1.Template, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Template, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TemplateList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Template, err error) TemplateExpansion }
TemplateInterface has methods to work with Template resources.
type TemplatesGetter ¶
type TemplatesGetter interface {
Templates(namespace string) TemplateInterface
}
TemplatesGetter has a method to return a TemplateInterface. A group's client should implement this interface.