Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComposeV1alpha3Client ¶
type ComposeV1alpha3Client struct {
// contains filtered or unexported fields
}
ComposeV1alpha3Client is used to interact with features provided by the compose.docker.com group.
func New ¶
func New(c rest.Interface) *ComposeV1alpha3Client
New creates a new ComposeV1alpha3Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*ComposeV1alpha3Client, error)
NewForConfig creates a new ComposeV1alpha3Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *ComposeV1alpha3Client
NewForConfigOrDie creates a new ComposeV1alpha3Client for the given config and panics if there is an error in the config.
func (*ComposeV1alpha3Client) RESTClient ¶
func (c *ComposeV1alpha3Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*ComposeV1alpha3Client) Stacks ¶
func (c *ComposeV1alpha3Client) Stacks(namespace string) StackInterface
Stacks returns a stack client
type ComposeV1alpha3Interface ¶
type ComposeV1alpha3Interface interface { RESTClient() rest.Interface StacksGetter }
ComposeV1alpha3Interface defines the methods a compose v1alpha3 client has
type StackInterface ¶
type StackInterface interface { Create(*v1alpha3.Stack) (*v1alpha3.Stack, error) Update(*v1alpha3.Stack) (*v1alpha3.Stack, error) UpdateStatus(*v1alpha3.Stack) (*v1alpha3.Stack, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1alpha3.Stack, error) List(opts v1.ListOptions) (*v1alpha3.StackList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1alpha3.Stack, error) WithSkipValidation() StackInterface }
StackInterface has methods to work with Stack resources.
type StacksGetter ¶
type StacksGetter interface {
Stacks(namespace string) StackInterface
}
StacksGetter has a method to return a StackInterface. A group's client should implement this interface.