package
2.0.0-alpha.3+incompatible
Repository: https://github.com/greenled/portainer-stack-utils.git
Documentation: pkg.go.dev

# Functions

GetTranslatedStackType returns a stack's Type field (int) translated to it's human readable form (string).
NewClient creates a new Portainer API client.

# Structs

AuthenticateUserOptions represents options passed to PortainerClient.AuthenticateUser().
AuthenticateUserRequest represents the body of a request to POST /auth.
AuthenticateUserResponse represents the body of a response for a request to POST /auth.
Config represents a Portainer client configuration.
GenericError represents the body of a generic error returned by the Portainer API.
StackCreateComposeOptions represents options passed to PortainerClient.StackCreateCompose().
StackCreateRequest represents the body of a request to POST /stacks.
StackCreateSwarmOptions represents options passed to PortainerClient.StackCreateSwarm().
StackFileInspectResponse represents the body of a response for a request to GET /stack/{id}/file.
StackListFilter represents a filter for a stack list.
StackListOptions represents options passed to PortainerClient.StackList().
StackUpdateOptions represents options passed to PortainerClient.StackUpdate().
StackUpdateRequest represents the body of a request to PUT /stacks/{id}.

# Interfaces

PortainerClient represents a Portainer API client.