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 AvoidanceActionExpansion ¶
type AvoidanceActionExpansion interface{}
type AvoidanceActionInterface ¶
type AvoidanceActionInterface interface { Create(ctx context.Context, avoidanceAction *v1alpha1.AvoidanceAction, opts v1.CreateOptions) (*v1alpha1.AvoidanceAction, error) Update(ctx context.Context, avoidanceAction *v1alpha1.AvoidanceAction, opts v1.UpdateOptions) (*v1alpha1.AvoidanceAction, error) UpdateStatus(ctx context.Context, avoidanceAction *v1alpha1.AvoidanceAction, opts v1.UpdateOptions) (*v1alpha1.AvoidanceAction, 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.AvoidanceAction, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AvoidanceActionList, 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.AvoidanceAction, err error) AvoidanceActionExpansion }
AvoidanceActionInterface has methods to work with AvoidanceAction resources.
type AvoidanceActionsGetter ¶
type AvoidanceActionsGetter interface {
AvoidanceActions() AvoidanceActionInterface
}
AvoidanceActionsGetter has a method to return a AvoidanceActionInterface. A group's client should implement this interface.
type EnsuranceV1alpha1Client ¶
type EnsuranceV1alpha1Client struct {
// contains filtered or unexported fields
}
EnsuranceV1alpha1Client is used to interact with features provided by the ensurance.crane.io group.
func New ¶
func New(c rest.Interface) *EnsuranceV1alpha1Client
New creates a new EnsuranceV1alpha1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*EnsuranceV1alpha1Client, error)
NewForConfig creates a new EnsuranceV1alpha1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *EnsuranceV1alpha1Client
NewForConfigOrDie creates a new EnsuranceV1alpha1Client for the given config and panics if there is an error in the config.
func (*EnsuranceV1alpha1Client) AvoidanceActions ¶
func (c *EnsuranceV1alpha1Client) AvoidanceActions() AvoidanceActionInterface
func (*EnsuranceV1alpha1Client) NodeQOSs ¶
func (c *EnsuranceV1alpha1Client) NodeQOSs() NodeQOSInterface
func (*EnsuranceV1alpha1Client) PodQOSs ¶
func (c *EnsuranceV1alpha1Client) PodQOSs() PodQOSInterface
func (*EnsuranceV1alpha1Client) RESTClient ¶
func (c *EnsuranceV1alpha1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type EnsuranceV1alpha1Interface ¶
type EnsuranceV1alpha1Interface interface { RESTClient() rest.Interface AvoidanceActionsGetter NodeQOSsGetter PodQOSsGetter }
type NodeQOSExpansion ¶
type NodeQOSExpansion interface{}
type NodeQOSInterface ¶
type NodeQOSInterface interface { Create(ctx context.Context, nodeQOS *v1alpha1.NodeQOS, opts v1.CreateOptions) (*v1alpha1.NodeQOS, error) Update(ctx context.Context, nodeQOS *v1alpha1.NodeQOS, opts v1.UpdateOptions) (*v1alpha1.NodeQOS, error) UpdateStatus(ctx context.Context, nodeQOS *v1alpha1.NodeQOS, opts v1.UpdateOptions) (*v1alpha1.NodeQOS, 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.NodeQOS, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NodeQOSList, 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.NodeQOS, err error) NodeQOSExpansion }
NodeQOSInterface has methods to work with NodeQOS resources.
type NodeQOSsGetter ¶
type NodeQOSsGetter interface {
NodeQOSs() NodeQOSInterface
}
NodeQOSsGetter has a method to return a NodeQOSInterface. A group's client should implement this interface.
type PodQOSExpansion ¶
type PodQOSExpansion interface{}
type PodQOSInterface ¶
type PodQOSInterface interface { Create(ctx context.Context, podQOS *v1alpha1.PodQOS, opts v1.CreateOptions) (*v1alpha1.PodQOS, error) Update(ctx context.Context, podQOS *v1alpha1.PodQOS, opts v1.UpdateOptions) (*v1alpha1.PodQOS, error) UpdateStatus(ctx context.Context, podQOS *v1alpha1.PodQOS, opts v1.UpdateOptions) (*v1alpha1.PodQOS, 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.PodQOS, error) List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.PodQOSList, 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.PodQOS, err error) PodQOSExpansion }
PodQOSInterface has methods to work with PodQOS resources.
type PodQOSsGetter ¶
type PodQOSsGetter interface {
PodQOSs() PodQOSInterface
}
PodQOSsGetter has a method to return a PodQOSInterface. A group's client should implement this interface.