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 AppsV1alpha1Client ¶
type AppsV1alpha1Client struct {
// contains filtered or unexported fields
}
AppsV1alpha1Client is used to interact with features provided by the apps.openyurt.io group.
func New ¶
func New(c rest.Interface) *AppsV1alpha1Client
New creates a new AppsV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AppsV1alpha1Client, error)
NewForConfig creates a new AppsV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AppsV1alpha1Client
NewForConfigOrDie creates a new AppsV1alpha1Client for the given config and panics if there is an error in the config.
func NewOpenYurtClient ¶
func NewOpenYurtClient(addr string) (*AppsV1alpha1Client, error)
NewFlinkOpeartorClient creates a new OperatorV1beta1 for the given addr.
func (*AppsV1alpha1Client) NodePools ¶
func (c *AppsV1alpha1Client) NodePools() NodePoolInterface
func (*AppsV1alpha1Client) RESTClient ¶
func (c *AppsV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*AppsV1alpha1Client) UnitedDeployments ¶
func (c *AppsV1alpha1Client) UnitedDeployments(namespace string) UnitedDeploymentInterface
type AppsV1alpha1Interface ¶
type AppsV1alpha1Interface interface { RESTClient() rest.Interface NodePoolsGetter UnitedDeploymentsGetter }
type NodePoolExpansion ¶
type NodePoolExpansion interface{}
type NodePoolInterface ¶
type NodePoolInterface interface { Create(context.Context, *v1alpha1.NodePool) (*v1alpha1.NodePool, error) Update(context.Context, *v1alpha1.NodePool) (*v1alpha1.NodePool, error) UpdateStatus(context.Context, *v1alpha1.NodePool) (*v1alpha1.NodePool, error) Delete(ctx context.Context, name string, options *v1.DeleteOptions) error DeleteCollection(ctx context.Context, options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(ctx context.Context, name string, options v1.GetOptions) (*v1alpha1.NodePool, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NodePoolList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.NodePool, err error) NodePoolExpansion }
NodePoolInterface has methods to work with NodePool resources.
type NodePoolsGetter ¶
type NodePoolsGetter interface {
NodePools() NodePoolInterface
}
NodePoolsGetter has a method to return a NodePoolInterface. A group's client should implement this interface.
type UnitedDeploymentExpansion ¶
type UnitedDeploymentExpansion interface{}
type UnitedDeploymentInterface ¶
type UnitedDeploymentInterface interface { Create(context.Context, *v1alpha1.UnitedDeployment) (*v1alpha1.UnitedDeployment, error) Update(context.Context, *v1alpha1.UnitedDeployment) (*v1alpha1.UnitedDeployment, error) UpdateStatus(context.Context, *v1alpha1.UnitedDeployment) (*v1alpha1.UnitedDeployment, error) Delete(ctx context.Context, name string, options *v1.DeleteOptions) error DeleteCollection(ctx context.Context, options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(ctx context.Context, name string, options v1.GetOptions) (*v1alpha1.UnitedDeployment, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UnitedDeploymentList, error) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.UnitedDeployment, err error) UnitedDeploymentExpansion }
UnitedDeploymentInterface has methods to work with UnitedDeployment resources.
type UnitedDeploymentsGetter ¶
type UnitedDeploymentsGetter interface {
UnitedDeployments(namespace string) UnitedDeploymentInterface
}
UnitedDeploymentsGetter has a method to return a UnitedDeploymentInterface. A group's client should implement this interface.