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 ServicePoliciesGetter ¶
type ServicePoliciesGetter interface {
ServicePolicies(namespace string) ServicePolicyInterface
}
ServicePoliciesGetter has a method to return a ServicePolicyInterface. A group's client should implement this interface.
type ServicePolicyExpansion ¶
type ServicePolicyExpansion interface{}
type ServicePolicyInterface ¶
type ServicePolicyInterface interface { Create(ctx context.Context, servicePolicy *v1alpha2.ServicePolicy, opts v1.CreateOptions) (*v1alpha2.ServicePolicy, error) Update(ctx context.Context, servicePolicy *v1alpha2.ServicePolicy, opts v1.UpdateOptions) (*v1alpha2.ServicePolicy, error) UpdateStatus(ctx context.Context, servicePolicy *v1alpha2.ServicePolicy, opts v1.UpdateOptions) (*v1alpha2.ServicePolicy, 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) (*v1alpha2.ServicePolicy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.ServicePolicyList, 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 *v1alpha2.ServicePolicy, err error) ServicePolicyExpansion }
ServicePolicyInterface has methods to work with ServicePolicy resources.
type ServicemeshV1alpha2Client ¶
type ServicemeshV1alpha2Client struct {
// contains filtered or unexported fields
}
ServicemeshV1alpha2Client is used to interact with features provided by the servicemesh.kubesphere.io group.
func New ¶
func New(c rest.Interface) *ServicemeshV1alpha2Client
New creates a new ServicemeshV1alpha2Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ServicemeshV1alpha2Client, error)
NewForConfig creates a new ServicemeshV1alpha2Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ServicemeshV1alpha2Client
NewForConfigOrDie creates a new ServicemeshV1alpha2Client for the given config and panics if there is an error in the config.
func (*ServicemeshV1alpha2Client) RESTClient ¶
func (c *ServicemeshV1alpha2Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ServicemeshV1alpha2Client) ServicePolicies ¶
func (c *ServicemeshV1alpha2Client) ServicePolicies(namespace string) ServicePolicyInterface
func (*ServicemeshV1alpha2Client) Strategies ¶
func (c *ServicemeshV1alpha2Client) Strategies(namespace string) StrategyInterface
type ServicemeshV1alpha2Interface ¶
type ServicemeshV1alpha2Interface interface { RESTClient() rest.Interface ServicePoliciesGetter StrategiesGetter }
type StrategiesGetter ¶
type StrategiesGetter interface {
Strategies(namespace string) StrategyInterface
}
StrategiesGetter has a method to return a StrategyInterface. A group's client should implement this interface.
type StrategyExpansion ¶
type StrategyExpansion interface{}
type StrategyInterface ¶
type StrategyInterface interface { Create(ctx context.Context, strategy *v1alpha2.Strategy, opts v1.CreateOptions) (*v1alpha2.Strategy, error) Update(ctx context.Context, strategy *v1alpha2.Strategy, opts v1.UpdateOptions) (*v1alpha2.Strategy, error) UpdateStatus(ctx context.Context, strategy *v1alpha2.Strategy, opts v1.UpdateOptions) (*v1alpha2.Strategy, 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) (*v1alpha2.Strategy, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha2.StrategyList, 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 *v1alpha2.Strategy, err error) StrategyExpansion }
StrategyInterface has methods to work with Strategy resources.