Documentation
¶
Overview ¶
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2021 NAME HERE <EMAIL ADDRESS>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func NewCmdBuild(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdDebug(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdDev(streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdLogin(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdLogout(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *cobra.Command
- func NewCmdPrepare(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *cobra.Command
- func NewVersionCmd() *cobra.Command
- type BuildOptions
- type CredOptions
- func (o *CredOptions) Apply(ops ...command.DockerCliOption) error
- func (o *CredOptions) Client() dockerCli.APIClient
- func (o *CredOptions) ClientInfo() command.ClientInfo
- func (o *CredOptions) Complete(cmd *cobra.Command, args []string) error
- func (o *CredOptions) ConfigFile() *configfile.ConfigFile
- func (o *CredOptions) ContentTrustEnabled() bool
- func (o *CredOptions) ContextStore() ctxStore.Store
- func (o *CredOptions) CurrentContext() string
- func (o *CredOptions) DefaultVersion() string
- func (o *CredOptions) DockerEndpoint() docker.Endpoint
- func (o *CredOptions) Err() io.Writer
- func (o *CredOptions) In() *streams.In
- func (o *CredOptions) Login(ctx context.Context) (err error)
- func (o *CredOptions) Logout(_ context.Context) (err error)
- func (o *CredOptions) ManifestStore() manifestStore.Store
- func (o *CredOptions) NotaryClient(imgRefAndAuth trust.ImageRefAndAuth, actions []string) (notaryCli.Repository, error)
- func (o *CredOptions) Out() *streams.Out
- func (o *CredOptions) RegistryClient(bool) client.RegistryClient
- func (o *CredOptions) ServerInfo() command.ServerInfo
- func (o *CredOptions) SetIn(in *streams.In)
- func (o *CredOptions) StackOrchestrator(flagValue string) (command.Orchestrator, error)
- func (o *CredOptions) Validate() error
- type DebugOptions
- type PrepareOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdBuild ¶ added in v0.4.0
func NewCmdBuild(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *cobra.Command
func NewCmdDebug ¶
func NewCmdDebug(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *cobra.Command
func NewCmdLogin ¶ added in v0.4.0
func NewCmdLogin(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *cobra.Command
func NewCmdLogout ¶ added in v0.4.0
func NewCmdLogout(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *cobra.Command
func NewCmdPrepare ¶ added in v0.2.0
func NewCmdPrepare(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *cobra.Command
func NewVersionCmd ¶
Types ¶
type BuildOptions ¶ added in v0.2.0
type BuildOptions struct {
*opts.GlobalOptions
// contains filtered or unexported fields
}
func (*BuildOptions) Complete ¶ added in v0.2.0
func (o *BuildOptions) Complete(cmd *cobra.Command, args []string) error
func (*BuildOptions) Run ¶ added in v0.2.0
func (o *BuildOptions) Run(ctx context.Context) (err error)
func (*BuildOptions) Validate ¶ added in v0.2.0
func (o *BuildOptions) Validate() error
type CredOptions ¶ added in v0.4.0
type CredOptions struct {
*opts.GlobalOptions
// contains filtered or unexported fields
}
func (*CredOptions) Apply ¶ added in v0.4.0
func (o *CredOptions) Apply(ops ...command.DockerCliOption) error
func (*CredOptions) Client ¶ added in v0.4.0
func (o *CredOptions) Client() dockerCli.APIClient
func (*CredOptions) ClientInfo ¶ added in v0.4.0
func (o *CredOptions) ClientInfo() command.ClientInfo
func (*CredOptions) Complete ¶ added in v0.4.0
func (o *CredOptions) Complete(cmd *cobra.Command, args []string) error
func (*CredOptions) ConfigFile ¶ added in v0.4.0
func (o *CredOptions) ConfigFile() *configfile.ConfigFile
func (*CredOptions) ContentTrustEnabled ¶ added in v0.4.0
func (o *CredOptions) ContentTrustEnabled() bool
func (*CredOptions) ContextStore ¶ added in v0.4.0
func (o *CredOptions) ContextStore() ctxStore.Store
func (*CredOptions) CurrentContext ¶ added in v0.4.0
func (o *CredOptions) CurrentContext() string
func (*CredOptions) DefaultVersion ¶ added in v0.4.0
func (o *CredOptions) DefaultVersion() string
func (*CredOptions) DockerEndpoint ¶ added in v0.4.0
func (o *CredOptions) DockerEndpoint() docker.Endpoint
func (*CredOptions) Err ¶ added in v0.4.0
func (o *CredOptions) Err() io.Writer
func (*CredOptions) In ¶ added in v0.4.0
func (o *CredOptions) In() *streams.In
func (*CredOptions) Login ¶ added in v0.4.0
func (o *CredOptions) Login(ctx context.Context) (err error)
func (*CredOptions) Logout ¶ added in v0.4.0
func (o *CredOptions) Logout(_ context.Context) (err error)
func (*CredOptions) ManifestStore ¶ added in v0.4.0
func (o *CredOptions) ManifestStore() manifestStore.Store
func (*CredOptions) NotaryClient ¶ added in v0.4.0
func (o *CredOptions) NotaryClient(imgRefAndAuth trust.ImageRefAndAuth, actions []string) (notaryCli.Repository, error)
func (*CredOptions) Out ¶ added in v0.4.0
func (o *CredOptions) Out() *streams.Out
func (*CredOptions) RegistryClient ¶ added in v0.4.0
func (o *CredOptions) RegistryClient(bool) client.RegistryClient
func (*CredOptions) ServerInfo ¶ added in v0.4.0
func (o *CredOptions) ServerInfo() command.ServerInfo
func (*CredOptions) SetIn ¶ added in v0.4.0
func (o *CredOptions) SetIn(in *streams.In)
func (*CredOptions) StackOrchestrator ¶ added in v0.4.0
func (o *CredOptions) StackOrchestrator(flagValue string) (command.Orchestrator, error)
func (*CredOptions) Validate ¶ added in v0.4.0
func (o *CredOptions) Validate() error
type DebugOptions ¶
type DebugOptions struct {
*opts.GlobalOptions
genericclioptions.IOStreams
// contains filtered or unexported fields
}
func NewDebugOptions ¶
func NewDebugOptions(opts *opts.GlobalOptions, streams genericclioptions.IOStreams) *DebugOptions
func (*DebugOptions) Complete ¶
func (o *DebugOptions) Complete(_ *cobra.Command, args []string) error
func (*DebugOptions) Validate ¶
func (o *DebugOptions) Validate() error
type PrepareOptions ¶ added in v0.2.0
type PrepareOptions struct {
*opts.GlobalOptions
genericclioptions.IOStreams
// contains filtered or unexported fields
}
func (*PrepareOptions) Complete ¶ added in v0.2.0
func (o *PrepareOptions) Complete(cmd *cobra.Command, args []string) (err error)
func (*PrepareOptions) Run ¶ added in v0.2.0
func (o *PrepareOptions) Run(ctx context.Context) error
func (*PrepareOptions) Validate ¶ added in v0.2.0
func (o *PrepareOptions) Validate() error