Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Applicationer ¶
type Applicationer interface {
Run(ctx context.Context, id string, credential *credentials.Credential, optionsFunc ...application.OptionsFunc) error
}
Applicationer is the service for build commands
type CreateCredentialsHandler ¶
type CreateCredentialsHandler struct {
// contains filtered or unexported fields
}
CreateCredentialsHandler is a handler for get credentials commands
func NewCreateCredentialsHandler ¶
func NewCreateCredentialsHandler(options ...OptionsFunc) *CreateCredentialsHandler
NewCreateCredentialsHandler creates a new handler for build commands
func (*CreateCredentialsHandler) Options ¶
func (h *CreateCredentialsHandler) Options(opts ...OptionsFunc)
Options configure the service
type MockCreateCredentialsHandler ¶
MockCreateCredentialsHandler is a handler for create credentials commands
func NewMockCreateCredentialsHandler ¶
func NewMockCreateCredentialsHandler() *MockCreateCredentialsHandler
NewMockCreateCredentialsHandler creates a new handler for create credentials commands
type Options ¶
type Options struct { AllowUseSSHAgent bool AWSAccessKeyID string AWSProfile string AWSRegion string AWSRoleARN string AWSSecretAccessKey string AWSUseDefaultCredentialsChain bool GitSSHUser string Password string PrivateKeyFile string PrivateKeyPassword string Username string }
Options is the options for the create credentials handler
type OptionsFunc ¶
type OptionsFunc func(*CreateCredentialsHandler)
OptionsFunc is a function used to configure the handler
func WithApplication ¶
func WithApplication(app Applicationer) OptionsFunc
Click to show internal directories.
Click to hide internal directories.