Documentation
¶
Index ¶
- Constants
- func NewBuildCommand() *cobra.Command
- func NewDeployCommand() *cobra.Command
- func NewKeyCommand() *cobra.Command
- func NewRegistryCommand() *cobra.Command
- func NewRegistryCommandWithFactory(clientFactory RegistryClientFactory) *cobra.Command
- func NewRootCommand() *cobra.Command
- func NewSecretCommand() *cobra.Command
- func NewServerCommand() *cobra.Command
- type RegistryClient
- type RegistryClientFactory
Constants ¶
View Source
const ( AddSwarmManager = "manager" AddSwarmWorker = "worker" )
View Source
const (
DockerUser = "cicdez"
)
Variables ¶
This section is empty.
Functions ¶
func NewBuildCommand ¶
func NewDeployCommand ¶
func NewKeyCommand ¶
func NewRegistryCommand ¶
func NewRegistryCommandWithFactory ¶
func NewRegistryCommandWithFactory(clientFactory RegistryClientFactory) *cobra.Command
func NewRootCommand ¶
func NewSecretCommand ¶
func NewServerCommand ¶
Types ¶
type RegistryClient ¶
type RegistryClient interface {
RegistryLogin(ctx context.Context, options client.RegistryLoginOptions) (client.RegistryLoginResult, error)
}
func DefaultRegistryClientFactory ¶
func DefaultRegistryClientFactory() (RegistryClient, error)
type RegistryClientFactory ¶
type RegistryClientFactory func() (RegistryClient, error)
Click to show internal directories.
Click to hide internal directories.