Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type CtrlmeshV1alpha1Client
- func (c *CtrlmeshV1alpha1Client) ManagerStates() ManagerStateInterface
- func (c *CtrlmeshV1alpha1Client) RESTClient() rest.Interface
- func (c *CtrlmeshV1alpha1Client) TrafficPolicies(namespace string) TrafficPolicyInterface
- func (c *CtrlmeshV1alpha1Client) VirtualApps(namespace string) VirtualAppInterface
- type CtrlmeshV1alpha1Interface
- type ManagerStateExpansion
- type ManagerStateInterface
- type ManagerStatesGetter
- type TrafficPoliciesGetter
- type TrafficPolicyExpansion
- type TrafficPolicyInterface
- type VirtualAppExpansion
- type VirtualAppInterface
- type VirtualAppsGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CtrlmeshV1alpha1Client ¶
type CtrlmeshV1alpha1Client struct {
// contains filtered or unexported fields
}
CtrlmeshV1alpha1Client is used to interact with features provided by the ctrlmesh.kruise.io group.
func New ¶
func New(c rest.Interface) *CtrlmeshV1alpha1Client
New creates a new CtrlmeshV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*CtrlmeshV1alpha1Client, error)
NewForConfig creates a new CtrlmeshV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *CtrlmeshV1alpha1Client
NewForConfigOrDie creates a new CtrlmeshV1alpha1Client for the given config and panics if there is an error in the config.
func (*CtrlmeshV1alpha1Client) ManagerStates ¶
func (c *CtrlmeshV1alpha1Client) ManagerStates() ManagerStateInterface
func (*CtrlmeshV1alpha1Client) RESTClient ¶
func (c *CtrlmeshV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*CtrlmeshV1alpha1Client) TrafficPolicies ¶
func (c *CtrlmeshV1alpha1Client) TrafficPolicies(namespace string) TrafficPolicyInterface
func (*CtrlmeshV1alpha1Client) VirtualApps ¶
func (c *CtrlmeshV1alpha1Client) VirtualApps(namespace string) VirtualAppInterface
type CtrlmeshV1alpha1Interface ¶
type CtrlmeshV1alpha1Interface interface { RESTClient() rest.Interface ManagerStatesGetter TrafficPoliciesGetter VirtualAppsGetter }
type ManagerStateExpansion ¶
type ManagerStateExpansion interface{}
type ManagerStateInterface ¶
type ManagerStateInterface interface { Create(*v1alpha1.ManagerState) (*v1alpha1.ManagerState, error) Update(*v1alpha1.ManagerState) (*v1alpha1.ManagerState, error) UpdateStatus(*v1alpha1.ManagerState) (*v1alpha1.ManagerState, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.ManagerState, error) List(opts v1.ListOptions) (*v1alpha1.ManagerStateList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ManagerState, err error) ManagerStateExpansion }
ManagerStateInterface has methods to work with ManagerState resources.
type ManagerStatesGetter ¶
type ManagerStatesGetter interface {
ManagerStates() ManagerStateInterface
}
ManagerStatesGetter has a method to return a ManagerStateInterface. A group's client should implement this interface.
type TrafficPoliciesGetter ¶
type TrafficPoliciesGetter interface {
TrafficPolicies(namespace string) TrafficPolicyInterface
}
TrafficPoliciesGetter has a method to return a TrafficPolicyInterface. A group's client should implement this interface.
type TrafficPolicyExpansion ¶
type TrafficPolicyExpansion interface{}
type TrafficPolicyInterface ¶
type TrafficPolicyInterface interface { Create(*v1alpha1.TrafficPolicy) (*v1alpha1.TrafficPolicy, error) Update(*v1alpha1.TrafficPolicy) (*v1alpha1.TrafficPolicy, error) UpdateStatus(*v1alpha1.TrafficPolicy) (*v1alpha1.TrafficPolicy, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.TrafficPolicy, error) List(opts v1.ListOptions) (*v1alpha1.TrafficPolicyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TrafficPolicy, err error) TrafficPolicyExpansion }
TrafficPolicyInterface has methods to work with TrafficPolicy resources.
type VirtualAppExpansion ¶
type VirtualAppExpansion interface{}
type VirtualAppInterface ¶
type VirtualAppInterface interface { Create(*v1alpha1.VirtualApp) (*v1alpha1.VirtualApp, error) Update(*v1alpha1.VirtualApp) (*v1alpha1.VirtualApp, error) UpdateStatus(*v1alpha1.VirtualApp) (*v1alpha1.VirtualApp, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha1.VirtualApp, error) List(opts v1.ListOptions) (*v1alpha1.VirtualAppList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.VirtualApp, err error) VirtualAppExpansion }
VirtualAppInterface has methods to work with VirtualApp resources.
type VirtualAppsGetter ¶
type VirtualAppsGetter interface {
VirtualApps(namespace string) VirtualAppInterface
}
VirtualAppsGetter has a method to return a VirtualAppInterface. A group's client should implement this interface.