latest

package
v0.4.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = ref.SchemeGroupVersion
	// SchemeBuilder is the scheme builder
	SchemeBuilder = ref.SchemeBuilder
	// AddToScheme adds to scheme
	AddToScheme = ref.AddToScheme
)

Functions

func GroupResource

func GroupResource(resource string) schema.GroupResource

GroupResource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ComposeFile

type ComposeFile = ref.ComposeFile

ComposeFile is the content of a stack's compose file if any

type ConfigObjConfig

type ConfigObjConfig = ref.ConfigObjConfig

ConfigObjConfig is the config for the swarm "Config" object

type Constraint

type Constraint = ref.Constraint

Constraint defines a constraint and it's operator (== or !=)

type Constraints

type Constraints = ref.Constraints

Constraints lists constraints that can be set on the service

type DeployConfig

type DeployConfig = ref.DeployConfig

DeployConfig is the deployment configuration for a service

type External

type External = ref.External

External identifies a Volume or Network as a reference to a resource that is not managed, and should already exist. External.name is deprecated and replaced by Volume.name

type FileObjectConfig

type FileObjectConfig = ref.FileObjectConfig

FileObjectConfig is a config type for a file used by a service

type FileReferenceConfig

type FileReferenceConfig = ref.FileReferenceConfig

FileReferenceConfig for a reference to a swarm file object

type HealthCheckConfig

type HealthCheckConfig = ref.HealthCheckConfig

HealthCheckConfig the healthcheck configuration for a service

type Owner

type Owner = ref.Owner

Owner describes the user who created the stack

type Placement

type Placement = ref.Placement

Placement constraints for the service

type Resource

type Resource = ref.Resource

Resource is a resource to be limited or reserved

type Resources

type Resources = ref.Resources

Resources the resource limits and reservations

type RestartPolicy

type RestartPolicy = ref.RestartPolicy

RestartPolicy is the service restart policy

type Scale

type Scale = ref.Scale

Scale contains the current/desired replica count for services in a stack.

type SecretConfig

type SecretConfig = ref.SecretConfig

SecretConfig for a secret

type ServiceConfig

type ServiceConfig = ref.ServiceConfig

ServiceConfig is the configuration of one service

type ServiceConfigObjConfig

type ServiceConfigObjConfig = ref.ServiceConfigObjConfig

ServiceConfigObjConfig is the config obj configuration for a service

type ServicePortConfig

type ServicePortConfig = ref.ServicePortConfig

ServicePortConfig is the port configuration for a service

type ServiceSecretConfig

type ServiceSecretConfig = ref.ServiceSecretConfig

ServiceSecretConfig is the secret configuration for a service

type ServiceVolumeConfig

type ServiceVolumeConfig = ref.ServiceVolumeConfig

ServiceVolumeConfig are references to a volume used by a service

type Stack

type Stack = ref.Stack

Stack is v1alpha3's representation of a Stack

type StackList

type StackList = ref.StackList

StackList is a list of stacks

type StackPhase

type StackPhase = ref.StackPhase

StackPhase is the deployment phase of a stack

const (
	// StackAvailable means the stack is available.
	StackAvailable StackPhase = "Available"
	// StackProgressing means the deployment is progressing.
	StackProgressing StackPhase = "Progressing"
	// StackFailure is added in a stack when one of its members fails to be created
	// or deleted.
	StackFailure StackPhase = "Failure"
	// StackReconciliationPending means the stack has not yet been reconciled
	StackReconciliationPending StackPhase = "ReconciliationPending"
)

These are valid conditions of a stack.

type StackSpec

type StackSpec = ref.StackSpec

StackSpec defines the desired state of Stack

type StackStatus

type StackStatus = ref.StackStatus

StackStatus defines the observed state of Stack

type UpdateConfig

type UpdateConfig = ref.UpdateConfig

UpdateConfig is the service update configuration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL