Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type CatalogSourceExpansion
- type CatalogSourceInterface
- type CatalogSourcesGetter
- type ClusterServiceVersionExpansion
- type ClusterServiceVersionInterface
- type ClusterServiceVersionsGetter
- type InstallPlanExpansion
- type InstallPlanInterface
- type InstallPlansGetter
- type OperatorsV1alpha1Client
- func (c *OperatorsV1alpha1Client) CatalogSources(namespace string) CatalogSourceInterface
- func (c *OperatorsV1alpha1Client) ClusterServiceVersions(namespace string) ClusterServiceVersionInterface
- func (c *OperatorsV1alpha1Client) InstallPlans(namespace string) InstallPlanInterface
- func (c *OperatorsV1alpha1Client) RESTClient() rest.Interface
- func (c *OperatorsV1alpha1Client) Subscriptions(namespace string) SubscriptionInterface
- type OperatorsV1alpha1Interface
- type SubscriptionExpansion
- type SubscriptionInterface
- type SubscriptionsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogSourceExpansion ¶
type CatalogSourceExpansion interface{}
type CatalogSourceInterface ¶
type CatalogSourceInterface interface { Create(ctx context.Context, catalogSource *v1alpha1.CatalogSource, opts v1.CreateOptions) (*v1alpha1.CatalogSource, error) Update(ctx context.Context, catalogSource *v1alpha1.CatalogSource, opts v1.UpdateOptions) (*v1alpha1.CatalogSource, error) UpdateStatus(ctx context.Context, catalogSource *v1alpha1.CatalogSource, opts v1.UpdateOptions) (*v1alpha1.CatalogSource, 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.CatalogSource, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.CatalogSourceList, 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.CatalogSource, err error) CatalogSourceExpansion }
CatalogSourceInterface has methods to work with CatalogSource resources.
type CatalogSourcesGetter ¶
type CatalogSourcesGetter interface {
CatalogSources(namespace string) CatalogSourceInterface
}
CatalogSourcesGetter has a method to return a CatalogSourceInterface. A group's client should implement this interface.
type ClusterServiceVersionExpansion ¶
type ClusterServiceVersionExpansion interface{}
type ClusterServiceVersionInterface ¶
type ClusterServiceVersionInterface interface { Create(ctx context.Context, clusterServiceVersion *v1alpha1.ClusterServiceVersion, opts v1.CreateOptions) (*v1alpha1.ClusterServiceVersion, error) Update(ctx context.Context, clusterServiceVersion *v1alpha1.ClusterServiceVersion, opts v1.UpdateOptions) (*v1alpha1.ClusterServiceVersion, error) UpdateStatus(ctx context.Context, clusterServiceVersion *v1alpha1.ClusterServiceVersion, opts v1.UpdateOptions) (*v1alpha1.ClusterServiceVersion, 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.ClusterServiceVersion, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterServiceVersionList, 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.ClusterServiceVersion, err error) ClusterServiceVersionExpansion }
ClusterServiceVersionInterface has methods to work with ClusterServiceVersion resources.
type ClusterServiceVersionsGetter ¶
type ClusterServiceVersionsGetter interface {
ClusterServiceVersions(namespace string) ClusterServiceVersionInterface
}
ClusterServiceVersionsGetter has a method to return a ClusterServiceVersionInterface. A group's client should implement this interface.
type InstallPlanExpansion ¶
type InstallPlanExpansion interface{}
type InstallPlanInterface ¶
type InstallPlanInterface interface { Create(ctx context.Context, installPlan *v1alpha1.InstallPlan, opts v1.CreateOptions) (*v1alpha1.InstallPlan, error) Update(ctx context.Context, installPlan *v1alpha1.InstallPlan, opts v1.UpdateOptions) (*v1alpha1.InstallPlan, error) UpdateStatus(ctx context.Context, installPlan *v1alpha1.InstallPlan, opts v1.UpdateOptions) (*v1alpha1.InstallPlan, 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.InstallPlan, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.InstallPlanList, 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.InstallPlan, err error) InstallPlanExpansion }
InstallPlanInterface has methods to work with InstallPlan resources.
type InstallPlansGetter ¶
type InstallPlansGetter interface {
InstallPlans(namespace string) InstallPlanInterface
}
InstallPlansGetter has a method to return a InstallPlanInterface. A group's client should implement this interface.
type OperatorsV1alpha1Client ¶
type OperatorsV1alpha1Client struct {
// contains filtered or unexported fields
}
OperatorsV1alpha1Client is used to interact with features provided by the operators.coreos.com group.
func New ¶
func New(c rest.Interface) *OperatorsV1alpha1Client
New creates a new OperatorsV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*OperatorsV1alpha1Client, error)
NewForConfig creates a new OperatorsV1alpha1Client 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 OperatorsV1alpha1Client 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) *OperatorsV1alpha1Client
NewForConfigOrDie creates a new OperatorsV1alpha1Client for the given config and panics if there is an error in the config.
func (*OperatorsV1alpha1Client) CatalogSources ¶
func (c *OperatorsV1alpha1Client) CatalogSources(namespace string) CatalogSourceInterface
func (*OperatorsV1alpha1Client) ClusterServiceVersions ¶
func (c *OperatorsV1alpha1Client) ClusterServiceVersions(namespace string) ClusterServiceVersionInterface
func (*OperatorsV1alpha1Client) InstallPlans ¶
func (c *OperatorsV1alpha1Client) InstallPlans(namespace string) InstallPlanInterface
func (*OperatorsV1alpha1Client) RESTClient ¶
func (c *OperatorsV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*OperatorsV1alpha1Client) Subscriptions ¶
func (c *OperatorsV1alpha1Client) Subscriptions(namespace string) SubscriptionInterface
type OperatorsV1alpha1Interface ¶
type OperatorsV1alpha1Interface interface { RESTClient() rest.Interface CatalogSourcesGetter ClusterServiceVersionsGetter InstallPlansGetter SubscriptionsGetter }
type SubscriptionExpansion ¶
type SubscriptionExpansion interface{}
type SubscriptionInterface ¶
type SubscriptionInterface interface { Create(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.CreateOptions) (*v1alpha1.Subscription, error) Update(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.UpdateOptions) (*v1alpha1.Subscription, error) UpdateStatus(ctx context.Context, subscription *v1alpha1.Subscription, opts v1.UpdateOptions) (*v1alpha1.Subscription, 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.Subscription, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SubscriptionList, 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.Subscription, err error) SubscriptionExpansion }
SubscriptionInterface has methods to work with Subscription resources.
type SubscriptionsGetter ¶
type SubscriptionsGetter interface {
Subscriptions(namespace string) SubscriptionInterface
}
SubscriptionsGetter has a method to return a SubscriptionInterface. A group's client should implement this interface.