Documentation
¶
Index ¶
Constants ¶
View Source
const ( AgentStackName = "berth-agent" AgentServiceName = "berth-agent" )
Variables ¶
View Source
var ( ErrUnsupportedCommand = errors.New("the sidecar can only bring the agent up or restart it") ErrUnsupportedOption = errors.New("the sidecar does not accept this option when updating the agent") )
View Source
var Module = fx.Options( fx.Provide(NewService), fx.Provide(NewHandler), )
Functions ¶
func ValidateOperation ¶ added in v0.5.1
Types ¶
type OperationRequest ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) AgentStackPath ¶ added in v0.5.1
func (*Service) ExecuteOperation ¶
func (s *Service) ExecuteOperation(_ context.Context, req OperationRequest) error
Click to show internal directories.
Click to hide internal directories.