Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type DeploymentExpansion
- type DeploymentInterface
- type DeploymentsGetter
- type PluginExpansion
- type PluginInterface
- type PluginsGetter
- type SiteExpansion
- type SiteInterface
- type SitesGetter
- type TemplateExpansion
- type TemplateInterface
- type TemplatesGetter
- type TkoV1alpha1Client
- func (c *TkoV1alpha1Client) Deployments(namespace string) DeploymentInterface
- func (c *TkoV1alpha1Client) Plugins(namespace string) PluginInterface
- func (c *TkoV1alpha1Client) RESTClient() rest.Interface
- func (c *TkoV1alpha1Client) Sites() SiteInterface
- func (c *TkoV1alpha1Client) Templates() TemplateInterface
- type TkoV1alpha1Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentExpansion ¶
type DeploymentExpansion interface{}
type DeploymentInterface ¶
type DeploymentInterface interface { Create(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.CreateOptions) (*v1alpha1.Deployment, error) Update(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.UpdateOptions) (*v1alpha1.Deployment, error) UpdateStatus(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.UpdateOptions) (*v1alpha1.Deployment, 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.Deployment, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DeploymentList, 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.Deployment, err error) DeploymentExpansion }
DeploymentInterface has methods to work with Deployment resources.
type DeploymentsGetter ¶
type DeploymentsGetter interface {
Deployments(namespace string) DeploymentInterface
}
DeploymentsGetter has a method to return a DeploymentInterface. A group's client should implement this interface.
type PluginExpansion ¶
type PluginExpansion interface{}
type PluginInterface ¶
type PluginInterface interface { Create(ctx context.Context, plugin *v1alpha1.Plugin, opts v1.CreateOptions) (*v1alpha1.Plugin, error) Update(ctx context.Context, plugin *v1alpha1.Plugin, opts v1.UpdateOptions) (*v1alpha1.Plugin, error) UpdateStatus(ctx context.Context, plugin *v1alpha1.Plugin, opts v1.UpdateOptions) (*v1alpha1.Plugin, 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.Plugin, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PluginList, 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.Plugin, err error) PluginExpansion }
PluginInterface has methods to work with Plugin resources.
type PluginsGetter ¶
type PluginsGetter interface {
Plugins(namespace string) PluginInterface
}
PluginsGetter has a method to return a PluginInterface. A group's client should implement this interface.
type SiteExpansion ¶
type SiteExpansion interface{}
type SiteInterface ¶
type SiteInterface interface { Create(ctx context.Context, site *v1alpha1.Site, opts v1.CreateOptions) (*v1alpha1.Site, error) Update(ctx context.Context, site *v1alpha1.Site, opts v1.UpdateOptions) (*v1alpha1.Site, error) UpdateStatus(ctx context.Context, site *v1alpha1.Site, opts v1.UpdateOptions) (*v1alpha1.Site, 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.Site, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SiteList, 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.Site, err error) SiteExpansion }
SiteInterface has methods to work with Site resources.
type SitesGetter ¶
type SitesGetter interface {
Sites() SiteInterface
}
SitesGetter has a method to return a SiteInterface. 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) UpdateStatus(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() TemplateInterface
}
TemplatesGetter has a method to return a TemplateInterface. A group's client should implement this interface.
type TkoV1alpha1Client ¶
type TkoV1alpha1Client struct {
// contains filtered or unexported fields
}
TkoV1alpha1Client is used to interact with features provided by the tko.nephio.org group.
func New ¶
func New(c rest.Interface) *TkoV1alpha1Client
New creates a new TkoV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*TkoV1alpha1Client, error)
NewForConfig creates a new TkoV1alpha1Client 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 TkoV1alpha1Client 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) *TkoV1alpha1Client
NewForConfigOrDie creates a new TkoV1alpha1Client for the given config and panics if there is an error in the config.
func (*TkoV1alpha1Client) Deployments ¶
func (c *TkoV1alpha1Client) Deployments(namespace string) DeploymentInterface
func (*TkoV1alpha1Client) Plugins ¶
func (c *TkoV1alpha1Client) Plugins(namespace string) PluginInterface
func (*TkoV1alpha1Client) RESTClient ¶
func (c *TkoV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*TkoV1alpha1Client) Sites ¶
func (c *TkoV1alpha1Client) Sites() SiteInterface
func (*TkoV1alpha1Client) Templates ¶
func (c *TkoV1alpha1Client) Templates() TemplateInterface
type TkoV1alpha1Interface ¶
type TkoV1alpha1Interface interface { RESTClient() rest.Interface DeploymentsGetter PluginsGetter SitesGetter TemplatesGetter }