Documentation ¶
Index ¶
- Variables
- func ExecuteSelfUpdate(ctx context.Context, cli client.APIClient, command *agent.AgentUpdateRequest, ...) error
- func GetSelfContainerName(ctx context.Context) (string, error)
- func RemoveSelf(ctx context.Context, options grpc.UpdateOptions) error
- func RewriteUpdateErrors(err error) (newErr error)
- func SelfUpdate(ctx context.Context, command *agent.AgentUpdateRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUpdateImageNotFound = errors.New("update failed: image cannot be found") )
errors related to update
Functions ¶
func ExecuteSelfUpdate ¶
func ExecuteSelfUpdate(ctx context.Context, cli client.APIClient, command *agent.AgentUpdateRequest, options grpc.UpdateOptions) error
func RemoveSelf ¶
func RemoveSelf(ctx context.Context, options grpc.UpdateOptions) error
func RewriteUpdateErrors ¶
func SelfUpdate ¶
func SelfUpdate(ctx context.Context, command *agent.AgentUpdateRequest, options grpc.UpdateOptions) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.