package
0.19.0-pre-1-ga2830b3
Repository: https://github.com/turnerlabs/harbor-compose.git
Documentation: pkg.go.dev

# Functions

CatalogCustoms catalogs a container using the customs catalog api.
Catalogit sends a POST to the catalogit api.
DeleteShipmentEnvironment deletes a shipment/environment from harbor.
Deploy deploys (and catalogs) a shipment container to an environment.
DeserializeDockerCompose deserializes a docker-compose.yml file into an object.
DeserializeHarborCompose deserializes a harbor-compose.yml file into an object.
Execute adds all child commands to the root command sets flags appropriately.
GetBarges returns a list of harbor barges.
GetConfig will set the default values.
GetGroup returns the members of a harbor group.
GetLogs returns a string of all container logs for a shipment.
GetLogStreamer return reader object to parse docker container logs.
GetRandomName generates a random name from the list of adjectives and surnames in this package formatted as "adjective-surname".
GetShipmentEnvironment returns a harbor shipment from the API.
GetShipmentEvents returns a ShipmentEventResult for a given shipment/environment.
GetShipmentStatus returns the running status of a shipment.
IsContainerVersionCataloged determines whether or not a container/version exists in the catalog.
Login -.
SaveEnvVar updates an environment variable in harbor (supports both environment and container levels).
SaveNewShipmentEnvironment bulk saves a new shipment/environment.
SerializeDockerCompose serializes an object to a docker-compose.yml file.
SerializeHarborCompose serializes an object to a harbor-compose.yml file.
Trigger calls the trigger api.
UpdateContainerImage updates a container version on a shipment.
UpdateProvider updates provider configuration.
UpdateShipmentEnvironment updates shipment/environment-level configuration.

# Variables

BuildDate is the date this binary was built.
DockerComposeFile represents the docker-compose.yml file.
HarborComposeFile represents the harbor-compose.yml file.
RootCmd represents the base command when called without any subcommands.
Verbose determines whether or not verbose output is enabled.
Version is the version of this app.

# Structs

Auth represents a user authentication token.
AuthRequest represents an authentication request.
AuthResponse represents an authentication response.
Barge represents a harbor barge.
BargeResults represents a barge payload.
BuildArtifact represents a build artifact.
BuildTokenOutput represents an object that can be written to stdout and formatted.
CatalogitContainer is what gets sent to catalog to post a new image.
CircleCIv1 represents a Circle CI build provider.
CircleCIv2 represents a Circle CI build provider (v2).
Codeship represents a Codeship build provider.
ComposeShipment represents a harbor shipment in a harbor-compose.yml file.
Config is the config for all communications in harbor.
ContainerLastState represents the last state of a container.
ContainerPayload represents a container payload.
ContainerState represents a particular state of a container.
ContainerStatusOutput represents an object that can be written to stdout and formatted.
DeployRequest represents a request to deploy a shipment/container to an environment.
DockerCompose represents a docker-compose.yml file (only used for writing via generate/init/pull).
DockerComposeService represents a container (only used for writing via generate/init).
EnvVarPayload represents EnvVar.
Group represents a harbor group.
HarborCompose represents a harbor-compose.yml file.
HelmitContainer represents a single container instance in harbor.
HelmitReplica represents a single running replica in harbor.
HelmitResponse represents a response from helmit.
LoadBalancer represents a harbor load balancer.
LocalBuild represents a local build provider.
The ParentShipment of the shipmentModel.
PortPayload represents a port.
ProviderPayload represents a provider payload.
ShipmentEnvironment represents a shipment/environment combination.
ShipmentEvent represents a shipment event.
ShipmentEventResult represents system events for a shipment/environment.
ShipmentStatus represents the deployed status of a shipment.
ShipmentStatusOutput represents an object that can be written to stdout and formatted.
TriggerResponseMultiple is the payload returned from the trigger api.
TriggerResponseSingle is the payload returned from the trigger api.
UpdatePortRequest represents a request to update a port.
UpdateShipmentEnvironmentRequest represents a request to update a shipment/environment.

# Interfaces

BuildProvider represents a build provider.

# Type aliases

Logs is a list.