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 OperatorsClient ¶
type OperatorsClient struct {
// contains filtered or unexported fields
}
OperatorsClient is used to interact with features provided by the operators.coreos.com group.
func New ¶
func New(c rest.Interface) *OperatorsClient
New creates a new OperatorsClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*OperatorsClient, error)
NewForConfig creates a new OperatorsClient for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶ added in v0.21.0
NewForConfigAndClient creates a new OperatorsClient 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) *OperatorsClient
NewForConfigOrDie creates a new OperatorsClient for the given config and panics if there is an error in the config.
func (*OperatorsClient) PackageManifests ¶
func (c *OperatorsClient) PackageManifests(namespace string) PackageManifestInterface
func (*OperatorsClient) RESTClient ¶
func (c *OperatorsClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type OperatorsInterface ¶
type OperatorsInterface interface { RESTClient() rest.Interface PackageManifestsGetter }
type PackageManifestExpansion ¶
type PackageManifestExpansion interface{}
type PackageManifestInterface ¶
type PackageManifestInterface interface { Create(ctx context.Context, packageManifest *operators.PackageManifest, opts v1.CreateOptions) (*operators.PackageManifest, error) Update(ctx context.Context, packageManifest *operators.PackageManifest, opts v1.UpdateOptions) (*operators.PackageManifest, error) UpdateStatus(ctx context.Context, packageManifest *operators.PackageManifest, opts v1.UpdateOptions) (*operators.PackageManifest, 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) (*operators.PackageManifest, error) List(ctx context.Context, opts v1.ListOptions) (*operators.PackageManifestList, 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 *operators.PackageManifest, err error) PackageManifestExpansion }
PackageManifestInterface has methods to work with PackageManifest resources.
type PackageManifestsGetter ¶
type PackageManifestsGetter interface {
PackageManifests(namespace string) PackageManifestInterface
}
PackageManifestsGetter has a method to return a PackageManifestInterface. A group's client should implement this interface.