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 EcsV1Client ¶
type EcsV1Client struct {
// contains filtered or unexported fields
}
EcsV1Client is used to interact with features provided by the ecs.easystack.io group.
func New ¶
func New(c rest.Interface) *EcsV1Client
New creates a new EcsV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*EcsV1Client, error)
NewForConfig creates a new EcsV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *EcsV1Client
NewForConfigOrDie creates a new EcsV1Client for the given config and panics if there is an error in the config.
func (*EcsV1Client) Instances ¶
func (c *EcsV1Client) Instances(namespace string) InstanceInterface
func (*EcsV1Client) RESTClient ¶
func (c *EcsV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*EcsV1Client) Volumes ¶
func (c *EcsV1Client) Volumes(namespace string) VolumeInterface
type EcsV1Interface ¶
type EcsV1Interface interface { RESTClient() rest.Interface InstancesGetter VolumesGetter }
type InstanceExpansion ¶
type InstanceExpansion interface{}
type InstanceInterface ¶
type InstanceInterface interface { Create(*v1.Instance) (*v1.Instance, error) Update(*v1.Instance) (*v1.Instance, error) UpdateStatus(*v1.Instance) (*v1.Instance, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Instance, error) List(opts meta_v1.ListOptions) (*v1.InstanceList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Instance, err error) InstanceExpansion }
InstanceInterface has methods to work with Instance resources.
type InstancesGetter ¶
type InstancesGetter interface {
Instances(namespace string) InstanceInterface
}
InstancesGetter has a method to return a InstanceInterface. A group's client should implement this interface.
type VolumeExpansion ¶
type VolumeExpansion interface{}
type VolumeInterface ¶
type VolumeInterface interface { Create(*v1.Volume) (*v1.Volume, error) Update(*v1.Volume) (*v1.Volume, error) UpdateStatus(*v1.Volume) (*v1.Volume, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Volume, error) List(opts meta_v1.ListOptions) (*v1.VolumeList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Volume, err error) VolumeExpansion }
VolumeInterface has methods to work with Volume resources.
type VolumesGetter ¶
type VolumesGetter interface {
Volumes(namespace string) VolumeInterface
}
VolumesGetter has a method to return a VolumeInterface. A group's client should implement this interface.