Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ClusterSourceExpansion
- type ClusterSourceInterface
- type ClusterSourcesGetter
- type ClusterSummariesGetter
- type ClusterSummaryExpansion
- type ClusterSummaryInterface
- type ClusterTargetExpansion
- type ClusterTargetInterface
- type ClusterTargetsGetter
- type MulticlusterV1alpha1Client
- func (c *MulticlusterV1alpha1Client) ClusterSources() ClusterSourceInterface
- func (c *MulticlusterV1alpha1Client) ClusterSummaries() ClusterSummaryInterface
- func (c *MulticlusterV1alpha1Client) ClusterTargets() ClusterTargetInterface
- func (c *MulticlusterV1alpha1Client) PodChaperons(namespace string) PodChaperonInterface
- func (c *MulticlusterV1alpha1Client) RESTClient() rest.Interface
- func (c *MulticlusterV1alpha1Client) Sources(namespace string) SourceInterface
- func (c *MulticlusterV1alpha1Client) Targets(namespace string) TargetInterface
- type MulticlusterV1alpha1Interface
- type PodChaperonExpansion
- type PodChaperonInterface
- type PodChaperonsGetter
- type SourceExpansion
- type SourceInterface
- type SourcesGetter
- type TargetExpansion
- type TargetInterface
- type TargetsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterSourceExpansion ¶ added in v0.10.0
type ClusterSourceExpansion interface{}
type ClusterSourceInterface ¶ added in v0.10.0
type ClusterSourceInterface interface {
Create(ctx context.Context, clusterSource *v1alpha1.ClusterSource, opts v1.CreateOptions) (*v1alpha1.ClusterSource, error)
Update(ctx context.Context, clusterSource *v1alpha1.ClusterSource, opts v1.UpdateOptions) (*v1alpha1.ClusterSource, error)
UpdateStatus(ctx context.Context, clusterSource *v1alpha1.ClusterSource, opts v1.UpdateOptions) (*v1alpha1.ClusterSource, 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.ClusterSource, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterSourceList, 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.ClusterSource, err error)
ClusterSourceExpansion
}
ClusterSourceInterface has methods to work with ClusterSource resources.
type ClusterSourcesGetter ¶ added in v0.10.0
type ClusterSourcesGetter interface {
ClusterSources() ClusterSourceInterface
}
ClusterSourcesGetter has a method to return a ClusterSourceInterface. A group's client should implement this interface.
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 ClusterTargetExpansion ¶ added in v0.10.0
type ClusterTargetExpansion interface{}
type ClusterTargetInterface ¶ added in v0.10.0
type ClusterTargetInterface interface {
Create(ctx context.Context, clusterTarget *v1alpha1.ClusterTarget, opts v1.CreateOptions) (*v1alpha1.ClusterTarget, error)
Update(ctx context.Context, clusterTarget *v1alpha1.ClusterTarget, opts v1.UpdateOptions) (*v1alpha1.ClusterTarget, error)
UpdateStatus(ctx context.Context, clusterTarget *v1alpha1.ClusterTarget, opts v1.UpdateOptions) (*v1alpha1.ClusterTarget, 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.ClusterTarget, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterTargetList, 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.ClusterTarget, err error)
ClusterTargetExpansion
}
ClusterTargetInterface has methods to work with ClusterTarget resources.
type ClusterTargetsGetter ¶ added in v0.10.0
type ClusterTargetsGetter interface {
ClusterTargets() ClusterTargetInterface
}
ClusterTargetsGetter has a method to return a ClusterTargetInterface. A group's client should implement this interface.
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. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v0.15.0
NewForConfigAndClient creates a new MulticlusterV1alpha1Client 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) *MulticlusterV1alpha1Client
NewForConfigOrDie creates a new MulticlusterV1alpha1Client for the given config and panics if there is an error in the config.
func (*MulticlusterV1alpha1Client) ClusterSources ¶ added in v0.10.0
func (c *MulticlusterV1alpha1Client) ClusterSources() ClusterSourceInterface
func (*MulticlusterV1alpha1Client) ClusterSummaries ¶ added in v0.10.0
func (c *MulticlusterV1alpha1Client) ClusterSummaries() ClusterSummaryInterface
func (*MulticlusterV1alpha1Client) ClusterTargets ¶ added in v0.10.0
func (c *MulticlusterV1alpha1Client) ClusterTargets() ClusterTargetInterface
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.
func (*MulticlusterV1alpha1Client) Sources ¶ added in v0.10.0
func (c *MulticlusterV1alpha1Client) Sources(namespace string) SourceInterface
func (*MulticlusterV1alpha1Client) Targets ¶ added in v0.10.0
func (c *MulticlusterV1alpha1Client) Targets(namespace string) TargetInterface
type MulticlusterV1alpha1Interface ¶
type MulticlusterV1alpha1Interface interface {
RESTClient() rest.Interface
ClusterSourcesGetter
ClusterSummariesGetter
ClusterTargetsGetter
PodChaperonsGetter
SourcesGetter
TargetsGetter
}
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.
type SourceExpansion ¶ added in v0.10.0
type SourceExpansion interface{}
type SourceInterface ¶ added in v0.10.0
type SourceInterface interface {
Create(ctx context.Context, source *v1alpha1.Source, opts v1.CreateOptions) (*v1alpha1.Source, error)
Update(ctx context.Context, source *v1alpha1.Source, opts v1.UpdateOptions) (*v1alpha1.Source, error)
UpdateStatus(ctx context.Context, source *v1alpha1.Source, opts v1.UpdateOptions) (*v1alpha1.Source, 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.Source, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SourceList, 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.Source, err error)
SourceExpansion
}
SourceInterface has methods to work with Source resources.
type SourcesGetter ¶ added in v0.10.0
type SourcesGetter interface {
Sources(namespace string) SourceInterface
}
SourcesGetter has a method to return a SourceInterface. A group's client should implement this interface.
type TargetExpansion ¶ added in v0.10.0
type TargetExpansion interface{}
type TargetInterface ¶ added in v0.10.0
type TargetInterface interface {
Create(ctx context.Context, target *v1alpha1.Target, opts v1.CreateOptions) (*v1alpha1.Target, error)
Update(ctx context.Context, target *v1alpha1.Target, opts v1.UpdateOptions) (*v1alpha1.Target, error)
UpdateStatus(ctx context.Context, target *v1alpha1.Target, opts v1.UpdateOptions) (*v1alpha1.Target, 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.Target, error)
List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.TargetList, 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.Target, err error)
TargetExpansion
}
TargetInterface has methods to work with Target resources.
type TargetsGetter ¶ added in v0.10.0
type TargetsGetter interface {
Targets(namespace string) TargetInterface
}
TargetsGetter has a method to return a TargetInterface. A group's client should implement this interface.