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(*v1alpha2.ServicePolicy) (*v1alpha2.ServicePolicy, error) Update(*v1alpha2.ServicePolicy) (*v1alpha2.ServicePolicy, error) UpdateStatus(*v1alpha2.ServicePolicy) (*v1alpha2.ServicePolicy, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha2.ServicePolicy, error) List(opts v1.ListOptions) (*v1alpha2.ServicePolicyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, 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(*v1alpha2.Strategy) (*v1alpha2.Strategy, error) Update(*v1alpha2.Strategy) (*v1alpha2.Strategy, error) UpdateStatus(*v1alpha2.Strategy) (*v1alpha2.Strategy, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha2.Strategy, error) List(opts v1.ListOptions) (*v1alpha2.StrategyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.Strategy, err error) StrategyExpansion }
StrategyInterface has methods to work with Strategy resources.