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