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