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 ClusterSummariesGetter ¶ added in v0.10.0
type ClusterSummariesGetter interface {
ClusterSummaries() ClusterSummaryInterface
}
ClusterSummariesGetter has a method to return a ClusterSummaryInterface. A group's client should implement this interface.
type ClusterSummaryExpansion ¶ added in v0.10.0
type ClusterSummaryExpansion interface{}
type ClusterSummaryInterface ¶ added in v0.10.0
type ClusterSummaryInterface interface { Create(ctx context.Context, clusterSummary *v1alpha1.ClusterSummary, opts v1.CreateOptions) (*v1alpha1.ClusterSummary, error) Update(ctx context.Context, clusterSummary *v1alpha1.ClusterSummary, opts v1.UpdateOptions) (*v1alpha1.ClusterSummary, 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.ClusterSummary, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterSummaryList, 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.ClusterSummary, err error) ClusterSummaryExpansion }
ClusterSummaryInterface has methods to work with ClusterSummary resources.
type MulticlusterV1alpha1Client ¶
type MulticlusterV1alpha1Client struct {
// contains filtered or unexported fields
}
MulticlusterV1alpha1Client is used to interact with features provided by the multicluster.admiralty.io group.
func New ¶
func New(c rest.Interface) *MulticlusterV1alpha1Client
New creates a new MulticlusterV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*MulticlusterV1alpha1Client, error)
NewForConfig creates a new MulticlusterV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *MulticlusterV1alpha1Client
NewForConfigOrDie creates a new MulticlusterV1alpha1Client for the given config and panics if there is an error in the config.
func (*MulticlusterV1alpha1Client) ClusterSummaries ¶ added in v0.10.0
func (c *MulticlusterV1alpha1Client) ClusterSummaries() ClusterSummaryInterface
func (*MulticlusterV1alpha1Client) PodChaperons ¶
func (c *MulticlusterV1alpha1Client) PodChaperons(namespace string) PodChaperonInterface
func (*MulticlusterV1alpha1Client) RESTClient ¶
func (c *MulticlusterV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type MulticlusterV1alpha1Interface ¶
type MulticlusterV1alpha1Interface interface { RESTClient() rest.Interface ClusterSummariesGetter PodChaperonsGetter }
type PodChaperonExpansion ¶
type PodChaperonExpansion interface{}
type PodChaperonInterface ¶
type PodChaperonInterface interface { Create(ctx context.Context, podChaperon *v1alpha1.PodChaperon, opts v1.CreateOptions) (*v1alpha1.PodChaperon, error) Update(ctx context.Context, podChaperon *v1alpha1.PodChaperon, opts v1.UpdateOptions) (*v1alpha1.PodChaperon, error) UpdateStatus(ctx context.Context, podChaperon *v1alpha1.PodChaperon, opts v1.UpdateOptions) (*v1alpha1.PodChaperon, 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.PodChaperon, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PodChaperonList, 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.PodChaperon, err error) PodChaperonExpansion }
PodChaperonInterface has methods to work with PodChaperon resources.
type PodChaperonsGetter ¶
type PodChaperonsGetter interface {
PodChaperons(namespace string) PodChaperonInterface
}
PodChaperonsGetter has a method to return a PodChaperonInterface. A group's client should implement this interface.