client

package
v0.0.4-rc4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AbortType             = "abort"
	AbortFieldGRPCStatus  = "grpcStatus"
	AbortFieldHTTP2Status = "http2Status"
	AbortFieldHTTPStatus  = "httpStatus"
)
View Source
const (
	BindOptionsType             = "bindOptions"
	BindOptionsFieldPropagation = "propagation"
)
View Source
const (
	ConditionType                    = "condition"
	ConditionFieldLastTransitionTime = "lastTransitionTime"
	ConditionFieldLastUpdateTime     = "lastUpdateTime"
	ConditionFieldMessage            = "message"
	ConditionFieldReason             = "reason"
	ConditionFieldStatus             = "status"
	ConditionFieldType               = "type"
)
View Source
const (
	ConfigType                      = "config"
	ConfigFieldContent              = "content"
	ConfigFieldCreated              = "created"
	ConfigFieldDescription          = "description"
	ConfigFieldEncoded              = "encoded"
	ConfigFieldLabels               = "labels"
	ConfigFieldName                 = "name"
	ConfigFieldProjectID            = "projectId"
	ConfigFieldRemoved              = "removed"
	ConfigFieldStackID              = "stackId"
	ConfigFieldState                = "state"
	ConfigFieldTransitioning        = "transitioning"
	ConfigFieldTransitioningMessage = "transitioningMessage"
	ConfigFieldUUID                 = "uuid"
)
View Source
const (
	ConfigMappingType        = "configMapping"
	ConfigMappingFieldGID    = "gid"
	ConfigMappingFieldMode   = "mode"
	ConfigMappingFieldSource = "source"
	ConfigMappingFieldTarget = "target"
	ConfigMappingFieldUID    = "uid"
)
View Source
const (
	ConfigSpecType             = "configSpec"
	ConfigSpecFieldContent     = "content"
	ConfigSpecFieldDescription = "description"
	ConfigSpecFieldEncoded     = "encoded"
	ConfigSpecFieldProjectID   = "projectId"
	ConfigSpecFieldStackID     = "stackId"
)
View Source
const (
	ConfigStatusType            = "configStatus"
	ConfigStatusFieldConditions = "conditions"
)
View Source
const (
	CustomResourceDefinitionType         = "customResourceDefinition"
	CustomResourceDefinitionFieldGroup   = "group"
	CustomResourceDefinitionFieldKind    = "kind"
	CustomResourceDefinitionFieldVersion = "version"
)
View Source
const (
	DaemonSetConditionType                    = "daemonSetCondition"
	DaemonSetConditionFieldLastTransitionTime = "lastTransitionTime"
	DaemonSetConditionFieldMessage            = "message"
	DaemonSetConditionFieldReason             = "reason"
	DaemonSetConditionFieldStatus             = "status"
	DaemonSetConditionFieldType               = "type"
)
View Source
const (
	DaemonSetStatusType                        = "daemonSetStatus"
	DaemonSetStatusFieldCollisionCount         = "collisionCount"
	DaemonSetStatusFieldConditions             = "conditions"
	DaemonSetStatusFieldCurrentNumberScheduled = "currentNumberScheduled"
	DaemonSetStatusFieldDesiredNumberScheduled = "desiredNumberScheduled"
	DaemonSetStatusFieldNumberAvailable        = "numberAvailable"
	DaemonSetStatusFieldNumberMisscheduled     = "numberMisscheduled"
	DaemonSetStatusFieldNumberReady            = "numberReady"
	DaemonSetStatusFieldNumberUnavailable      = "numberUnavailable"
	DaemonSetStatusFieldObservedGeneration     = "observedGeneration"
	DaemonSetStatusFieldUpdatedNumberScheduled = "updatedNumberScheduled"
)
View Source
const (
	DeploymentConditionType                    = "deploymentCondition"
	DeploymentConditionFieldLastTransitionTime = "lastTransitionTime"
	DeploymentConditionFieldLastUpdateTime     = "lastUpdateTime"
	DeploymentConditionFieldMessage            = "message"
	DeploymentConditionFieldReason             = "reason"
	DeploymentConditionFieldStatus             = "status"
	DeploymentConditionFieldType               = "type"
)
View Source
const (
	DeploymentStatusType                     = "deploymentStatus"
	DeploymentStatusFieldAvailableReplicas   = "availableReplicas"
	DeploymentStatusFieldCollisionCount      = "collisionCount"
	DeploymentStatusFieldConditions          = "conditions"
	DeploymentStatusFieldObservedGeneration  = "observedGeneration"
	DeploymentStatusFieldReadyReplicas       = "readyReplicas"
	DeploymentStatusFieldReplicas            = "replicas"
	DeploymentStatusFieldUnavailableReplicas = "unavailableReplicas"
	DeploymentStatusFieldUpdatedReplicas     = "updatedReplicas"
)
View Source
const (
	DestinationType          = "destination"
	DestinationFieldPort     = "port"
	DestinationFieldRevision = "revision"
	DestinationFieldService  = "service"
	DestinationFieldStack    = "stack"
)
View Source
const (
	DeviceMappingType             = "deviceMapping"
	DeviceMappingFieldInContainer = "inContainer"
	DeviceMappingFieldOnHost      = "onHost"
	DeviceMappingFieldPermissions = "permissions"
)
View Source
const (
	EndpointType     = "endpoint"
	EndpointFieldURL = "url"
)
View Source
const (
	ExposedPortType            = "exposedPort"
	ExposedPortFieldIP         = "ip"
	ExposedPortFieldName       = "name"
	ExposedPortFieldPort       = "port"
	ExposedPortFieldProtocol   = "protocol"
	ExposedPortFieldTargetPort = "targetPort"
)
View Source
const (
	ExternalServiceType                      = "externalService"
	ExternalServiceFieldCreated              = "created"
	ExternalServiceFieldLabels               = "labels"
	ExternalServiceFieldName                 = "name"
	ExternalServiceFieldProjectID            = "projectId"
	ExternalServiceFieldRemoved              = "removed"
	ExternalServiceFieldStackID              = "stackId"
	ExternalServiceFieldState                = "state"
	ExternalServiceFieldTarget               = "target"
	ExternalServiceFieldTransitioning        = "transitioning"
	ExternalServiceFieldTransitioningMessage = "transitioningMessage"
	ExternalServiceFieldUUID                 = "uuid"
)
View Source
const (
	ExternalServiceSpecType           = "externalServiceSpec"
	ExternalServiceSpecFieldProjectID = "projectId"
	ExternalServiceSpecFieldStackID   = "stackId"
	ExternalServiceSpecFieldTarget    = "target"
)
View Source
const (
	ExternalServiceStatusType            = "externalServiceStatus"
	ExternalServiceStatusFieldConditions = "conditions"
)
View Source
const (
	FaultType             = "fault"
	FaultFieldAbort       = "abort"
	FaultFieldDelayMillis = "delayMillis"
	FaultFieldPercentage  = "percentage"
)
View Source
const (
	GenericConditionType                    = "genericCondition"
	GenericConditionFieldLastTransitionTime = "lastTransitionTime"
	GenericConditionFieldLastUpdateTime     = "lastUpdateTime"
	GenericConditionFieldMessage            = "message"
	GenericConditionFieldReason             = "reason"
	GenericConditionFieldStatus             = "status"
	GenericConditionFieldType               = "type"
)
View Source
const (
	HealthConfigType                     = "healthConfig"
	HealthConfigFieldHealthyThreshold    = "healthyThreshold"
	HealthConfigFieldInitialDelaySeconds = "initialDelaySeconds"
	HealthConfigFieldIntervalSeconds     = "intervalSeconds"
	HealthConfigFieldTest                = "test"
	HealthConfigFieldTimeoutSeconds      = "timeoutSeconds"
	HealthConfigFieldUnhealthyThreshold  = "unhealthyThreshold"
)
View Source
const (
	InitializerType      = "initializer"
	InitializerFieldName = "name"
)
View Source
const (
	InitializersType         = "initializers"
	InitializersFieldPending = "pending"
	InitializersFieldResult  = "result"
)
View Source
const (
	InternalStackType                  = "internalStack"
	InternalStackFieldConfigs          = "configs"
	InternalStackFieldExternalServices = "externalservices"
	InternalStackFieldKubernetes       = "kubernetes"
	InternalStackFieldRoutes           = "routes"
	InternalStackFieldServices         = "services"
	InternalStackFieldVolumes          = "volumes"
)
View Source
const (
	KubernetesType                                     = "kubernetes"
	KubernetesFieldCustomResourceDefinitions           = "customResourceDefinitions"
	KubernetesFieldManifest                            = "manifest"
	KubernetesFieldNamespacedCustomResourceDefinitions = "namespacedCustomResourceDefinitions"
	KubernetesFieldNamespacedManifest                  = "namespacedManifest"
)
View Source
const (
	ListMetaType                 = "listMeta"
	ListMetaFieldContinue        = "continue"
	ListMetaFieldResourceVersion = "resourceVersion"
	ListMetaFieldSelfLink        = "selfLink"
)
View Source
const (
	MatchType         = "match"
	MatchFieldCookies = "cookies"
	MatchFieldFrom    = "from"
	MatchFieldHeaders = "headers"
	MatchFieldMethod  = "method"
	MatchFieldPath    = "path"
	MatchFieldPort    = "port"
	MatchFieldScheme  = "scheme"
)
View Source
const (
	MountType               = "mount"
	MountFieldBindOptions   = "bind"
	MountFieldKind          = "kind"
	MountFieldReadOnly      = "readonly"
	MountFieldSource        = "source"
	MountFieldTarget        = "target"
	MountFieldVolumeOptions = "volume"
)
View Source
const (
	NodeSchedulingType            = "nodeScheduling"
	NodeSchedulingFieldNodeID     = "nodeId"
	NodeSchedulingFieldPreferred  = "preferred"
	NodeSchedulingFieldRequireAll = "requireAll"
	NodeSchedulingFieldRequireAny = "requireAny"
)
View Source
const (
	ObjectMetaType                 = "objectMeta"
	ObjectMetaFieldAnnotations     = "annotations"
	ObjectMetaFieldCreated         = "created"
	ObjectMetaFieldFinalizers      = "finalizers"
	ObjectMetaFieldLabels          = "labels"
	ObjectMetaFieldName            = "name"
	ObjectMetaFieldNamespace       = "namespace"
	ObjectMetaFieldOwnerReferences = "ownerReferences"
	ObjectMetaFieldRemoved         = "removed"
	ObjectMetaFieldSelfLink        = "selfLink"
	ObjectMetaFieldUUID            = "uuid"
)
View Source
const (
	OwnerReferenceType                    = "ownerReference"
	OwnerReferenceFieldAPIVersion         = "apiVersion"
	OwnerReferenceFieldBlockOwnerDeletion = "blockOwnerDeletion"
	OwnerReferenceFieldController         = "controller"
	OwnerReferenceFieldKind               = "kind"
	OwnerReferenceFieldName               = "name"
	OwnerReferenceFieldUID                = "uid"
)
View Source
const (
	PermissionType          = "permission"
	PermissionFieldAPIGroup = "apiGroup"
	PermissionFieldName     = "name"
	PermissionFieldResource = "resource"
	PermissionFieldRole     = "role"
	PermissionFieldURL      = "url"
	PermissionFieldVerbs    = "verbs"
)
View Source
const (
	PersistentVolumeClaimConditionType                    = "persistentVolumeClaimCondition"
	PersistentVolumeClaimConditionFieldLastProbeTime      = "lastProbeTime"
	PersistentVolumeClaimConditionFieldLastTransitionTime = "lastTransitionTime"
	PersistentVolumeClaimConditionFieldMessage            = "message"
	PersistentVolumeClaimConditionFieldReason             = "reason"
	PersistentVolumeClaimConditionFieldStatus             = "status"
	PersistentVolumeClaimConditionFieldType               = "type"
)
View Source
const (
	PersistentVolumeClaimStatusType             = "persistentVolumeClaimStatus"
	PersistentVolumeClaimStatusFieldAccessModes = "accessModes"
	PersistentVolumeClaimStatusFieldCapacity    = "capacity"
	PersistentVolumeClaimStatusFieldConditions  = "conditions"
	PersistentVolumeClaimStatusFieldPhase       = "phase"
)
View Source
const (
	PortBindingType            = "portBinding"
	PortBindingFieldIP         = "ip"
	PortBindingFieldPort       = "port"
	PortBindingFieldProtocol   = "protocol"
	PortBindingFieldTargetPort = "targetPort"
)
View Source
const (
	QuestionType                   = "question"
	QuestionFieldDefault           = "default"
	QuestionFieldDescription       = "description"
	QuestionFieldGroup             = "group"
	QuestionFieldInvalidChars      = "invalidChars"
	QuestionFieldLabel             = "label"
	QuestionFieldMax               = "max"
	QuestionFieldMaxLength         = "maxLength"
	QuestionFieldMin               = "min"
	QuestionFieldMinLength         = "minLength"
	QuestionFieldOptions           = "options"
	QuestionFieldRequired          = "required"
	QuestionFieldShowIf            = "showIf"
	QuestionFieldShowSubquestionIf = "showSubquestionIf"
	QuestionFieldSubquestions      = "subquestions"
	QuestionFieldType              = "type"
	QuestionFieldValidChars        = "validChars"
	QuestionFieldVariable          = "variable"
)
View Source
const (
	RedirectType      = "redirect"
	RedirectFieldHost = "host"
	RedirectFieldPath = "path"
)
View Source
const (
	RetryType               = "retry"
	RetryFieldAttempts      = "attempts"
	RetryFieldTimeoutMillis = "timeoutMillis"
)
View Source
const (
	RewriteType      = "rewrite"
	RewriteFieldHost = "host"
	RewriteFieldPath = "path"
)
View Source
const (
	RouteSetType                      = "routeSet"
	RouteSetFieldCreated              = "created"
	RouteSetFieldLabels               = "labels"
	RouteSetFieldName                 = "name"
	RouteSetFieldProjectID            = "projectId"
	RouteSetFieldRemoved              = "removed"
	RouteSetFieldRoutes               = "routes"
	RouteSetFieldStackID              = "stackId"
	RouteSetFieldState                = "state"
	RouteSetFieldTransitioning        = "transitioning"
	RouteSetFieldTransitioningMessage = "transitioningMessage"
	RouteSetFieldUUID                 = "uuid"
)
View Source
const (
	RouteSetSpecType           = "routeSetSpec"
	RouteSetSpecFieldProjectID = "projectId"
	RouteSetSpecFieldRoutes    = "routes"
	RouteSetSpecFieldStackID   = "stackId"
)
View Source
const (
	RouteSetStatusType            = "routeSetStatus"
	RouteSetStatusFieldConditions = "conditions"
)
View Source
const (
	RouteSpecType               = "routeSpec"
	RouteSpecFieldAddHeaders    = "addHeaders"
	RouteSpecFieldFault         = "fault"
	RouteSpecFieldMatches       = "matches"
	RouteSpecFieldMirror        = "mirror"
	RouteSpecFieldRedirect      = "redirect"
	RouteSpecFieldRetry         = "retry"
	RouteSpecFieldRewrite       = "rewrite"
	RouteSpecFieldTimeoutMillis = "timeoutMillis"
	RouteSpecFieldTo            = "to"
)
View Source
const (
	ScaleStatusType             = "scaleStatus"
	ScaleStatusFieldAvailable   = "available"
	ScaleStatusFieldReady       = "ready"
	ScaleStatusFieldUnavailable = "unavailable"
	ScaleStatusFieldUpdated     = "updated"
)
View Source
const (
	SchedulingType           = "scheduling"
	SchedulingFieldNode      = "node"
	SchedulingFieldScheduler = "scheduler"
)
View Source
const (
	SecretMappingType        = "secretMapping"
	SecretMappingFieldMode   = "mode"
	SecretMappingFieldSource = "source"
	SecretMappingFieldTarget = "target"
)
View Source
const (
	ServiceType                        = "service"
	ServiceFieldBatchSize              = "batchSize"
	ServiceFieldCPUs                   = "nanoCpus"
	ServiceFieldCapAdd                 = "capAdd"
	ServiceFieldCapDrop                = "capDrop"
	ServiceFieldCommand                = "command"
	ServiceFieldConfigs                = "configs"
	ServiceFieldContainerConcurrency   = "containerConcurrency"
	ServiceFieldCreated                = "created"
	ServiceFieldDNS                    = "dns"
	ServiceFieldDNSOptions             = "dnsOptions"
	ServiceFieldDNSSearch              = "dnsSearch"
	ServiceFieldDaemonSetStatus        = "daemonSetStatus"
	ServiceFieldDefaultVolumeDriver    = "defaultVolumeDriver"
	ServiceFieldDeploymentStrategy     = "deploymentStrategy"
	ServiceFieldDevices                = "devices"
	ServiceFieldEnableAutoScale        = "enableAutoScale"
	ServiceFieldEndpoints              = "endpoints"
	ServiceFieldEntrypoint             = "entrypoint"
	ServiceFieldEnvironment            = "environment"
	ServiceFieldExposedPorts           = "expose"
	ServiceFieldExtraHosts             = "extraHosts"
	ServiceFieldGlobal                 = "global"
	ServiceFieldGlobalPermissions      = "globalPermissions"
	ServiceFieldGroup                  = "group"
	ServiceFieldHealthcheck            = "healthcheck"
	ServiceFieldHostname               = "hostname"
	ServiceFieldImage                  = "image"
	ServiceFieldImagePullPolicy        = "imagePullPolicy"
	ServiceFieldInit                   = "init"
	ServiceFieldIpcMode                = "ipc"
	ServiceFieldLabels                 = "labels"
	ServiceFieldMaxScale               = "maxScale"
	ServiceFieldMemoryLimitBytes       = "memoryLimitBytes"
	ServiceFieldMemoryReservationBytes = "memoryReservationBytes"
	ServiceFieldMetadata               = "metadata"
	ServiceFieldMinScale               = "minScale"
	ServiceFieldName                   = "name"
	ServiceFieldNetworkMode            = "net"
	ServiceFieldOpenStdin              = "stdinOpen"
	ServiceFieldParentService          = "parentService"
	ServiceFieldPermissions            = "permissions"
	ServiceFieldPidMode                = "pid"
	ServiceFieldPortBindings           = "ports"
	ServiceFieldPrivileged             = "privileged"
	ServiceFieldProjectID              = "projectId"
	ServiceFieldPromote                = "promote"
	ServiceFieldReadonlyRootfs         = "readOnly"
	ServiceFieldReadycheck             = "readycheck"
	ServiceFieldRemoved                = "removed"
	ServiceFieldRestartPolicy          = "restart"
	ServiceFieldScale                  = "scale"
	ServiceFieldScaleStatus            = "scaleStatus"
	ServiceFieldScheduling             = "scheduling"
	ServiceFieldSecrets                = "secrets"
	ServiceFieldSidekicks              = "sidekicks"
	ServiceFieldStackID                = "stackId"
	ServiceFieldState                  = "state"
	ServiceFieldStatefulSetStatus      = "statefulSetStatus"
	ServiceFieldStopGracePeriodSeconds = "stopGracePeriod"
	ServiceFieldTmpfs                  = "tmpfs"
	ServiceFieldTransitioning          = "transitioning"
	ServiceFieldTransitioningMessage   = "transitioningMessage"
	ServiceFieldTty                    = "tty"
	ServiceFieldUUID                   = "uuid"
	ServiceFieldUpdateOrder            = "updateOrder"
	ServiceFieldUpdateStrategy         = "updateStrategy"
	ServiceFieldUser                   = "user"
	ServiceFieldVersion                = "version"
	ServiceFieldVolumes                = "volumes"
	ServiceFieldVolumesFrom            = "volumesFrom"
	ServiceFieldWeight                 = "weight"
	ServiceFieldWorkingDir             = "workingDir"
)
View Source
const (
	ServiceRevisionType               = "serviceRevision"
	ServiceRevisionFieldParentService = "parentService"
	ServiceRevisionFieldPromote       = "promote"
	ServiceRevisionFieldVersion       = "version"
	ServiceRevisionFieldWeight        = "weight"
)
View Source
const (
	ServiceSourceType          = "serviceSource"
	ServiceSourceFieldRevision = "revision"
	ServiceSourceFieldService  = "service"
	ServiceSourceFieldStack    = "stack"
)
View Source
const (
	ServiceSpecType                        = "serviceSpec"
	ServiceSpecFieldBatchSize              = "batchSize"
	ServiceSpecFieldCPUs                   = "nanoCpus"
	ServiceSpecFieldCapAdd                 = "capAdd"
	ServiceSpecFieldCapDrop                = "capDrop"
	ServiceSpecFieldCommand                = "command"
	ServiceSpecFieldConfigs                = "configs"
	ServiceSpecFieldContainerConcurrency   = "containerConcurrency"
	ServiceSpecFieldDNS                    = "dns"
	ServiceSpecFieldDNSOptions             = "dnsOptions"
	ServiceSpecFieldDNSSearch              = "dnsSearch"
	ServiceSpecFieldDefaultVolumeDriver    = "defaultVolumeDriver"
	ServiceSpecFieldDeploymentStrategy     = "deploymentStrategy"
	ServiceSpecFieldDevices                = "devices"
	ServiceSpecFieldEnableAutoScale        = "enableAutoScale"
	ServiceSpecFieldEntrypoint             = "entrypoint"
	ServiceSpecFieldEnvironment            = "environment"
	ServiceSpecFieldExposedPorts           = "expose"
	ServiceSpecFieldExtraHosts             = "extraHosts"
	ServiceSpecFieldGlobal                 = "global"
	ServiceSpecFieldGlobalPermissions      = "globalPermissions"
	ServiceSpecFieldGroup                  = "group"
	ServiceSpecFieldHealthcheck            = "healthcheck"
	ServiceSpecFieldHostname               = "hostname"
	ServiceSpecFieldImage                  = "image"
	ServiceSpecFieldImagePullPolicy        = "imagePullPolicy"
	ServiceSpecFieldInit                   = "init"
	ServiceSpecFieldIpcMode                = "ipc"
	ServiceSpecFieldMaxScale               = "maxScale"
	ServiceSpecFieldMemoryLimitBytes       = "memoryLimitBytes"
	ServiceSpecFieldMemoryReservationBytes = "memoryReservationBytes"
	ServiceSpecFieldMetadata               = "metadata"
	ServiceSpecFieldMinScale               = "minScale"
	ServiceSpecFieldNetworkMode            = "net"
	ServiceSpecFieldOpenStdin              = "stdinOpen"
	ServiceSpecFieldParentService          = "parentService"
	ServiceSpecFieldPermissions            = "permissions"
	ServiceSpecFieldPidMode                = "pid"
	ServiceSpecFieldPortBindings           = "ports"
	ServiceSpecFieldPrivileged             = "privileged"
	ServiceSpecFieldProjectID              = "projectId"
	ServiceSpecFieldPromote                = "promote"
	ServiceSpecFieldReadonlyRootfs         = "readOnly"
	ServiceSpecFieldReadycheck             = "readycheck"
	ServiceSpecFieldRestartPolicy          = "restart"
	ServiceSpecFieldScale                  = "scale"
	ServiceSpecFieldScheduling             = "scheduling"
	ServiceSpecFieldSecrets                = "secrets"
	ServiceSpecFieldServiceLabels          = "serviceLabels"
	ServiceSpecFieldSidekicks              = "sidekicks"
	ServiceSpecFieldStackID                = "stackId"
	ServiceSpecFieldStopGracePeriodSeconds = "stopGracePeriod"
	ServiceSpecFieldTmpfs                  = "tmpfs"
	ServiceSpecFieldTty                    = "tty"
	ServiceSpecFieldUpdateOrder            = "updateOrder"
	ServiceSpecFieldUpdateStrategy         = "updateStrategy"
	ServiceSpecFieldUser                   = "user"
	ServiceSpecFieldVersion                = "version"
	ServiceSpecFieldVolumes                = "volumes"
	ServiceSpecFieldVolumesFrom            = "volumesFrom"
	ServiceSpecFieldWeight                 = "weight"
	ServiceSpecFieldWorkingDir             = "workingDir"
)
View Source
const (
	ServiceStatusType                   = "serviceStatus"
	ServiceStatusFieldConditions        = "conditions"
	ServiceStatusFieldDaemonSetStatus   = "daemonSetStatus"
	ServiceStatusFieldEndpoints         = "endpoints"
	ServiceStatusFieldScaleStatus       = "scaleStatus"
	ServiceStatusFieldStatefulSetStatus = "statefulSetStatus"
)
View Source
const (
	SidekickConfigType                        = "sidekickConfig"
	SidekickConfigFieldCPUs                   = "nanoCpus"
	SidekickConfigFieldCapAdd                 = "capAdd"
	SidekickConfigFieldCapDrop                = "capDrop"
	SidekickConfigFieldCommand                = "command"
	SidekickConfigFieldConfigs                = "configs"
	SidekickConfigFieldDefaultVolumeDriver    = "defaultVolumeDriver"
	SidekickConfigFieldDevices                = "devices"
	SidekickConfigFieldEntrypoint             = "entrypoint"
	SidekickConfigFieldEnvironment            = "environment"
	SidekickConfigFieldExposedPorts           = "expose"
	SidekickConfigFieldGroup                  = "group"
	SidekickConfigFieldHealthcheck            = "healthcheck"
	SidekickConfigFieldImage                  = "image"
	SidekickConfigFieldImagePullPolicy        = "imagePullPolicy"
	SidekickConfigFieldInit                   = "init"
	SidekickConfigFieldInitContainer          = "initContainer"
	SidekickConfigFieldMemoryLimitBytes       = "memoryLimitBytes"
	SidekickConfigFieldMemoryReservationBytes = "memoryReservationBytes"
	SidekickConfigFieldOpenStdin              = "stdinOpen"
	SidekickConfigFieldPortBindings           = "ports"
	SidekickConfigFieldPrivileged             = "privileged"
	SidekickConfigFieldReadonlyRootfs         = "readOnly"
	SidekickConfigFieldReadycheck             = "readycheck"
	SidekickConfigFieldSecrets                = "secrets"
	SidekickConfigFieldTmpfs                  = "tmpfs"
	SidekickConfigFieldTty                    = "tty"
	SidekickConfigFieldUser                   = "user"
	SidekickConfigFieldVolumes                = "volumes"
	SidekickConfigFieldVolumesFrom            = "volumesFrom"
	SidekickConfigFieldWorkingDir             = "workingDir"
)
View Source
const (
	StackType                           = "stack"
	StackFieldAdditionalFiles           = "additionalFiles"
	StackFieldAnswers                   = "answers"
	StackFieldCreated                   = "created"
	StackFieldDescription               = "description"
	StackFieldDisableMesh               = "disableMesh"
	StackFieldEnableAutoscale           = "enableAutoscale"
	StackFieldEnableKubernetesResources = "enableKubernetesResources"
	StackFieldLabels                    = "labels"
	StackFieldName                      = "name"
	StackFieldProjectID                 = "projectId"
	StackFieldQuestions                 = "questions"
	StackFieldRemoved                   = "removed"
	StackFieldState                     = "state"
	StackFieldTemplate                  = "template"
	StackFieldTransitioning             = "transitioning"
	StackFieldTransitioningMessage      = "transitioningMessage"
	StackFieldUUID                      = "uuid"
)
View Source
const (
	StackSpecType                           = "stackSpec"
	StackSpecFieldAdditionalFiles           = "additionalFiles"
	StackSpecFieldAnswers                   = "answers"
	StackSpecFieldDescription               = "description"
	StackSpecFieldDisableMesh               = "disableMesh"
	StackSpecFieldEnableAutoscale           = "enableAutoscale"
	StackSpecFieldEnableKubernetesResources = "enableKubernetesResources"
	StackSpecFieldQuestions                 = "questions"
	StackSpecFieldTemplate                  = "template"
)
View Source
const (
	StackStatusType            = "stackStatus"
	StackStatusFieldConditions = "conditions"
)
View Source
const (
	StatefulSetConditionType                    = "statefulSetCondition"
	StatefulSetConditionFieldLastTransitionTime = "lastTransitionTime"
	StatefulSetConditionFieldMessage            = "message"
	StatefulSetConditionFieldReason             = "reason"
	StatefulSetConditionFieldStatus             = "status"
	StatefulSetConditionFieldType               = "type"
)
View Source
const (
	StatefulSetStatusType                    = "statefulSetStatus"
	StatefulSetStatusFieldCollisionCount     = "collisionCount"
	StatefulSetStatusFieldConditions         = "conditions"
	StatefulSetStatusFieldCurrentReplicas    = "currentReplicas"
	StatefulSetStatusFieldCurrentRevision    = "currentRevision"
	StatefulSetStatusFieldObservedGeneration = "observedGeneration"
	StatefulSetStatusFieldReadyReplicas      = "readyReplicas"
	StatefulSetStatusFieldReplicas           = "replicas"
	StatefulSetStatusFieldUpdateRevision     = "updateRevision"
	StatefulSetStatusFieldUpdatedReplicas    = "updatedReplicas"
)
View Source
const (
	StatusType            = "status"
	StatusFieldAPIVersion = "apiVersion"
	StatusFieldCode       = "code"
	StatusFieldDetails    = "details"
	StatusFieldKind       = "kind"
	StatusFieldListMeta   = "metadata"
	StatusFieldMessage    = "message"
	StatusFieldReason     = "reason"
	StatusFieldStatus     = "status"
)
View Source
const (
	StatusCauseType         = "statusCause"
	StatusCauseFieldField   = "field"
	StatusCauseFieldMessage = "message"
	StatusCauseFieldType    = "reason"
)
View Source
const (
	StatusDetailsType                   = "statusDetails"
	StatusDetailsFieldCauses            = "causes"
	StatusDetailsFieldGroup             = "group"
	StatusDetailsFieldKind              = "kind"
	StatusDetailsFieldName              = "name"
	StatusDetailsFieldRetryAfterSeconds = "retryAfterSeconds"
	StatusDetailsFieldUID               = "uid"
)
View Source
const (
	StringMatchType        = "stringMatch"
	StringMatchFieldExact  = "exact"
	StringMatchFieldPrefix = "prefix"
	StringMatchFieldRegexp = "regexp"
)
View Source
const (
	SubQuestionType              = "subQuestion"
	SubQuestionFieldDefault      = "default"
	SubQuestionFieldDescription  = "description"
	SubQuestionFieldGroup        = "group"
	SubQuestionFieldInvalidChars = "invalidChars"
	SubQuestionFieldLabel        = "label"
	SubQuestionFieldMax          = "max"
	SubQuestionFieldMaxLength    = "maxLength"
	SubQuestionFieldMin          = "min"
	SubQuestionFieldMinLength    = "minLength"
	SubQuestionFieldOptions      = "options"
	SubQuestionFieldRequired     = "required"
	SubQuestionFieldShowIf       = "showIf"
	SubQuestionFieldType         = "type"
	SubQuestionFieldValidChars   = "validChars"
	SubQuestionFieldVariable     = "variable"
)
View Source
const (
	TmpfsType           = "tmpfs"
	TmpfsFieldPath      = "path"
	TmpfsFieldReadOnly  = "readOnly"
	TmpfsFieldSizeBytes = "sizeBytes"
)
View Source
const (
	VolumeType                      = "volume"
	VolumeFieldAccessMode           = "accessMode"
	VolumeFieldAccessModes          = "accessModes"
	VolumeFieldCapacity             = "capacity"
	VolumeFieldCreated              = "created"
	VolumeFieldDescription          = "description"
	VolumeFieldDriver               = "driver"
	VolumeFieldLabels               = "labels"
	VolumeFieldName                 = "name"
	VolumeFieldProjectID            = "projectId"
	VolumeFieldRemoved              = "removed"
	VolumeFieldSizeInGB             = "sizeInGb"
	VolumeFieldStackID              = "stackId"
	VolumeFieldState                = "state"
	VolumeFieldTemplate             = "template"
	VolumeFieldTransitioning        = "transitioning"
	VolumeFieldTransitioningMessage = "transitioningMessage"
	VolumeFieldUUID                 = "uuid"
)
View Source
const (
	VolumeOptionsType          = "volumeOptions"
	VolumeOptionsFieldDriver   = "driver"
	VolumeOptionsFieldNoCopy   = "noCopy"
	VolumeOptionsFieldSizeInGB = "sizeInGb"
	VolumeOptionsFieldSubPath  = "subPath"
)
View Source
const (
	VolumeSpecType             = "volumeSpec"
	VolumeSpecFieldAccessMode  = "accessMode"
	VolumeSpecFieldDescription = "description"
	VolumeSpecFieldDriver      = "driver"
	VolumeSpecFieldProjectID   = "projectId"
	VolumeSpecFieldSizeInGB    = "sizeInGb"
	VolumeSpecFieldStackID     = "stackId"
	VolumeSpecFieldTemplate    = "template"
)
View Source
const (
	VolumeStatusType             = "volumeStatus"
	VolumeStatusFieldAccessModes = "accessModes"
	VolumeStatusFieldCapacity    = "capacity"
	VolumeStatusFieldConditions  = "conditions"
	VolumeStatusFieldPhase       = "phase"
)
View Source
const (
	WeightedDestinationType          = "weightedDestination"
	WeightedDestinationFieldPort     = "port"
	WeightedDestinationFieldRevision = "revision"
	WeightedDestinationFieldService  = "service"
	WeightedDestinationFieldStack    = "stack"
	WeightedDestinationFieldWeight   = "weight"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Abort

type Abort struct {
	GRPCStatus  string `json:"grpcStatus,omitempty" yaml:"grpcStatus,omitempty"`
	HTTP2Status string `json:"http2Status,omitempty" yaml:"http2Status,omitempty"`
	HTTPStatus  int64  `json:"httpStatus,omitempty" yaml:"httpStatus,omitempty"`
}

type BindOptions

type BindOptions struct {
	Propagation string `json:"propagation,omitempty" yaml:"propagation,omitempty"`
}

type Client

func NewClient

func NewClient(opts *clientbase.ClientOpts) (*Client, error)

type Condition

type Condition struct {
	LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"lastTransitionTime,omitempty"`
	LastUpdateTime     string `json:"lastUpdateTime,omitempty" yaml:"lastUpdateTime,omitempty"`
	Message            string `json:"message,omitempty" yaml:"message,omitempty"`
	Reason             string `json:"reason,omitempty" yaml:"reason,omitempty"`
	Status             string `json:"status,omitempty" yaml:"status,omitempty"`
	Type               string `json:"type,omitempty" yaml:"type,omitempty"`
}

type Config

type Config struct {
	types.Resource
	Content              string            `json:"content,omitempty" yaml:"content,omitempty"`
	Created              string            `json:"created,omitempty" yaml:"created,omitempty"`
	Description          string            `json:"description,omitempty" yaml:"description,omitempty"`
	Encoded              bool              `json:"encoded,omitempty" yaml:"encoded,omitempty"`
	Labels               map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name                 string            `json:"name,omitempty" yaml:"name,omitempty"`
	ProjectID            string            `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	Removed              string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	StackID              string            `json:"stackId,omitempty" yaml:"stackId,omitempty"`
	State                string            `json:"state,omitempty" yaml:"state,omitempty"`
	Transitioning        string            `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
	TransitioningMessage string            `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
	UUID                 string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

type ConfigClient

type ConfigClient struct {
	// contains filtered or unexported fields
}

func (*ConfigClient) ByID

func (c *ConfigClient) ByID(id string) (*Config, error)

func (*ConfigClient) Create

func (c *ConfigClient) Create(container *Config) (*Config, error)

func (*ConfigClient) Delete

func (c *ConfigClient) Delete(container *Config) error

func (*ConfigClient) List

func (c *ConfigClient) List(opts *types.ListOpts) (*ConfigCollection, error)

func (*ConfigClient) Replace

func (c *ConfigClient) Replace(obj *Config) (*Config, error)

func (*ConfigClient) Update

func (c *ConfigClient) Update(existing *Config, updates interface{}) (*Config, error)

type ConfigCollection

type ConfigCollection struct {
	types.Collection
	Data []Config `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigCollection) Next

func (cc *ConfigCollection) Next() (*ConfigCollection, error)

type ConfigMapping

type ConfigMapping struct {
	GID    int64  `json:"gid,omitempty" yaml:"gid,omitempty"`
	Mode   string `json:"mode,omitempty" yaml:"mode,omitempty"`
	Source string `json:"source,omitempty" yaml:"source,omitempty"`
	Target string `json:"target,omitempty" yaml:"target,omitempty"`
	UID    int64  `json:"uid,omitempty" yaml:"uid,omitempty"`
}

type ConfigOperations

type ConfigOperations interface {
	List(opts *types.ListOpts) (*ConfigCollection, error)
	Create(opts *Config) (*Config, error)
	Update(existing *Config, updates interface{}) (*Config, error)
	Replace(existing *Config) (*Config, error)
	ByID(id string) (*Config, error)
	Delete(container *Config) error
}

type ConfigSpec

type ConfigSpec struct {
	Content     string `json:"content,omitempty" yaml:"content,omitempty"`
	Description string `json:"description,omitempty" yaml:"description,omitempty"`
	Encoded     bool   `json:"encoded,omitempty" yaml:"encoded,omitempty"`
	ProjectID   string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	StackID     string `json:"stackId,omitempty" yaml:"stackId,omitempty"`
}

type ConfigStatus

type ConfigStatus struct {
	Conditions []GenericCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
}

type CustomResourceDefinition

type CustomResourceDefinition struct {
	Group   string `json:"group,omitempty" yaml:"group,omitempty"`
	Kind    string `json:"kind,omitempty" yaml:"kind,omitempty"`
	Version string `json:"version,omitempty" yaml:"version,omitempty"`
}

type DaemonSetCondition

type DaemonSetCondition struct {
	LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"lastTransitionTime,omitempty"`
	Message            string `json:"message,omitempty" yaml:"message,omitempty"`
	Reason             string `json:"reason,omitempty" yaml:"reason,omitempty"`
	Status             string `json:"status,omitempty" yaml:"status,omitempty"`
	Type               string `json:"type,omitempty" yaml:"type,omitempty"`
}

type DaemonSetStatus

type DaemonSetStatus struct {
	CollisionCount         *int64               `json:"collisionCount,omitempty" yaml:"collisionCount,omitempty"`
	Conditions             []DaemonSetCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	CurrentNumberScheduled int64                `json:"currentNumberScheduled,omitempty" yaml:"currentNumberScheduled,omitempty"`
	DesiredNumberScheduled int64                `json:"desiredNumberScheduled,omitempty" yaml:"desiredNumberScheduled,omitempty"`
	NumberAvailable        int64                `json:"numberAvailable,omitempty" yaml:"numberAvailable,omitempty"`
	NumberMisscheduled     int64                `json:"numberMisscheduled,omitempty" yaml:"numberMisscheduled,omitempty"`
	NumberReady            int64                `json:"numberReady,omitempty" yaml:"numberReady,omitempty"`
	NumberUnavailable      int64                `json:"numberUnavailable,omitempty" yaml:"numberUnavailable,omitempty"`
	ObservedGeneration     int64                `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
	UpdatedNumberScheduled int64                `json:"updatedNumberScheduled,omitempty" yaml:"updatedNumberScheduled,omitempty"`
}

type DeploymentCondition

type DeploymentCondition struct {
	LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"lastTransitionTime,omitempty"`
	LastUpdateTime     string `json:"lastUpdateTime,omitempty" yaml:"lastUpdateTime,omitempty"`
	Message            string `json:"message,omitempty" yaml:"message,omitempty"`
	Reason             string `json:"reason,omitempty" yaml:"reason,omitempty"`
	Status             string `json:"status,omitempty" yaml:"status,omitempty"`
	Type               string `json:"type,omitempty" yaml:"type,omitempty"`
}

type DeploymentStatus

type DeploymentStatus struct {
	AvailableReplicas   int64                 `json:"availableReplicas,omitempty" yaml:"availableReplicas,omitempty"`
	CollisionCount      *int64                `json:"collisionCount,omitempty" yaml:"collisionCount,omitempty"`
	Conditions          []DeploymentCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	ObservedGeneration  int64                 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
	ReadyReplicas       int64                 `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
	Replicas            int64                 `json:"replicas,omitempty" yaml:"replicas,omitempty"`
	UnavailableReplicas int64                 `json:"unavailableReplicas,omitempty" yaml:"unavailableReplicas,omitempty"`
	UpdatedReplicas     int64                 `json:"updatedReplicas,omitempty" yaml:"updatedReplicas,omitempty"`
}

type Destination

type Destination struct {
	Port     *int64 `json:"port,omitempty" yaml:"port,omitempty"`
	Revision string `json:"revision,omitempty" yaml:"revision,omitempty"`
	Service  string `json:"service,omitempty" yaml:"service,omitempty"`
	Stack    string `json:"stack,omitempty" yaml:"stack,omitempty"`
}

type DeviceMapping

type DeviceMapping struct {
	InContainer string `json:"inContainer,omitempty" yaml:"inContainer,omitempty"`
	OnHost      string `json:"onHost,omitempty" yaml:"onHost,omitempty"`
	Permissions string `json:"permissions,omitempty" yaml:"permissions,omitempty"`
}

type Endpoint

type Endpoint struct {
	URL string `json:"url,omitempty" yaml:"url,omitempty"`
}

type ExposedPort

type ExposedPort struct {
	IP         string `json:"ip,omitempty" yaml:"ip,omitempty"`
	Name       string `json:"name,omitempty" yaml:"name,omitempty"`
	Port       int64  `json:"port,omitempty" yaml:"port,omitempty"`
	Protocol   string `json:"protocol,omitempty" yaml:"protocol,omitempty"`
	TargetPort int64  `json:"targetPort,omitempty" yaml:"targetPort,omitempty"`
}

type ExternalService

type ExternalService struct {
	types.Resource
	Created              string            `json:"created,omitempty" yaml:"created,omitempty"`
	Labels               map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name                 string            `json:"name,omitempty" yaml:"name,omitempty"`
	ProjectID            string            `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	Removed              string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	StackID              string            `json:"stackId,omitempty" yaml:"stackId,omitempty"`
	State                string            `json:"state,omitempty" yaml:"state,omitempty"`
	Target               string            `json:"target,omitempty" yaml:"target,omitempty"`
	Transitioning        string            `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
	TransitioningMessage string            `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
	UUID                 string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

type ExternalServiceClient

type ExternalServiceClient struct {
	// contains filtered or unexported fields
}

func (*ExternalServiceClient) ByID

func (*ExternalServiceClient) Create

func (c *ExternalServiceClient) Create(container *ExternalService) (*ExternalService, error)

func (*ExternalServiceClient) Delete

func (c *ExternalServiceClient) Delete(container *ExternalService) error

func (*ExternalServiceClient) List

func (*ExternalServiceClient) Replace

func (*ExternalServiceClient) Update

func (c *ExternalServiceClient) Update(existing *ExternalService, updates interface{}) (*ExternalService, error)

type ExternalServiceCollection

type ExternalServiceCollection struct {
	types.Collection
	Data []ExternalService `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalServiceCollection) Next

type ExternalServiceOperations

type ExternalServiceOperations interface {
	List(opts *types.ListOpts) (*ExternalServiceCollection, error)
	Create(opts *ExternalService) (*ExternalService, error)
	Update(existing *ExternalService, updates interface{}) (*ExternalService, error)
	Replace(existing *ExternalService) (*ExternalService, error)
	ByID(id string) (*ExternalService, error)
	Delete(container *ExternalService) error
}

type ExternalServiceSpec

type ExternalServiceSpec struct {
	ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	StackID   string `json:"stackId,omitempty" yaml:"stackId,omitempty"`
	Target    string `json:"target,omitempty" yaml:"target,omitempty"`
}

type ExternalServiceStatus

type ExternalServiceStatus struct {
	Conditions []GenericCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
}

type Fault

type Fault struct {
	Abort       *Abort `json:"abort,omitempty" yaml:"abort,omitempty"`
	DelayMillis int64  `json:"delayMillis,omitempty" yaml:"delayMillis,omitempty"`
	Percentage  int64  `json:"percentage,omitempty" yaml:"percentage,omitempty"`
}

type GenericCondition

type GenericCondition struct {
	LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"lastTransitionTime,omitempty"`
	LastUpdateTime     string `json:"lastUpdateTime,omitempty" yaml:"lastUpdateTime,omitempty"`
	Message            string `json:"message,omitempty" yaml:"message,omitempty"`
	Reason             string `json:"reason,omitempty" yaml:"reason,omitempty"`
	Status             string `json:"status,omitempty" yaml:"status,omitempty"`
	Type               string `json:"type,omitempty" yaml:"type,omitempty"`
}

type HealthConfig

type HealthConfig struct {
	HealthyThreshold    int64    `json:"healthyThreshold,omitempty" yaml:"healthyThreshold,omitempty"`
	InitialDelaySeconds int64    `json:"initialDelaySeconds,omitempty" yaml:"initialDelaySeconds,omitempty"`
	IntervalSeconds     int64    `json:"intervalSeconds,omitempty" yaml:"intervalSeconds,omitempty"`
	Test                []string `json:"test,omitempty" yaml:"test,omitempty"`
	TimeoutSeconds      int64    `json:"timeoutSeconds,omitempty" yaml:"timeoutSeconds,omitempty"`
	UnhealthyThreshold  int64    `json:"unhealthyThreshold,omitempty" yaml:"unhealthyThreshold,omitempty"`
}

type Initializer

type Initializer struct {
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

type Initializers

type Initializers struct {
	Pending []Initializer `json:"pending,omitempty" yaml:"pending,omitempty"`
	Result  *Status       `json:"result,omitempty" yaml:"result,omitempty"`
}

type InternalStack

type InternalStack struct {
	Configs          map[string]Config          `json:"configs,omitempty" yaml:"configs,omitempty"`
	ExternalServices map[string]ExternalService `json:"externalservices,omitempty" yaml:"externalservices,omitempty"`
	Kubernetes       *Kubernetes                `json:"kubernetes,omitempty" yaml:"kubernetes,omitempty"`
	Routes           map[string]RouteSet        `json:"routes,omitempty" yaml:"routes,omitempty"`
	Services         map[string]Service         `json:"services,omitempty" yaml:"services,omitempty"`
	Volumes          map[string]Volume          `json:"volumes,omitempty" yaml:"volumes,omitempty"`
}

type Kubernetes

type Kubernetes struct {
	CustomResourceDefinitions           []CustomResourceDefinition `json:"customResourceDefinitions,omitempty" yaml:"customResourceDefinitions,omitempty"`
	Manifest                            string                     `json:"manifest,omitempty" yaml:"manifest,omitempty"`
	NamespacedCustomResourceDefinitions []CustomResourceDefinition `json:"namespacedCustomResourceDefinitions,omitempty" yaml:"namespacedCustomResourceDefinitions,omitempty"`
	NamespacedManifest                  string                     `json:"namespacedManifest,omitempty" yaml:"namespacedManifest,omitempty"`
}

type ListMeta

type ListMeta struct {
	Continue        string `json:"continue,omitempty" yaml:"continue,omitempty"`
	ResourceVersion string `json:"resourceVersion,omitempty" yaml:"resourceVersion,omitempty"`
	SelfLink        string `json:"selfLink,omitempty" yaml:"selfLink,omitempty"`
}

type Match

type Match struct {
	Cookies map[string]StringMatch `json:"cookies,omitempty" yaml:"cookies,omitempty"`
	From    *ServiceSource         `json:"from,omitempty" yaml:"from,omitempty"`
	Headers map[string]StringMatch `json:"headers,omitempty" yaml:"headers,omitempty"`
	Method  *StringMatch           `json:"method,omitempty" yaml:"method,omitempty"`
	Path    *StringMatch           `json:"path,omitempty" yaml:"path,omitempty"`
	Port    *int64                 `json:"port,omitempty" yaml:"port,omitempty"`
	Scheme  *StringMatch           `json:"scheme,omitempty" yaml:"scheme,omitempty"`
}

type Mount

type Mount struct {
	BindOptions   *BindOptions   `json:"bind,omitempty" yaml:"bind,omitempty"`
	Kind          string         `json:"kind,omitempty" yaml:"kind,omitempty"`
	ReadOnly      bool           `json:"readonly,omitempty" yaml:"readonly,omitempty"`
	Source        string         `json:"source,omitempty" yaml:"source,omitempty"`
	Target        string         `json:"target,omitempty" yaml:"target,omitempty"`
	VolumeOptions *VolumeOptions `json:"volume,omitempty" yaml:"volume,omitempty"`
}

type NodeScheduling

type NodeScheduling struct {
	NodeID     string   `json:"nodeId,omitempty" yaml:"nodeId,omitempty"`
	Preferred  []string `json:"preferred,omitempty" yaml:"preferred,omitempty"`
	RequireAll []string `json:"requireAll,omitempty" yaml:"requireAll,omitempty"`
	RequireAny []string `json:"requireAny,omitempty" yaml:"requireAny,omitempty"`
}

type ObjectMeta

type ObjectMeta struct {
	Annotations     map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
	Created         string            `json:"created,omitempty" yaml:"created,omitempty"`
	Finalizers      []string          `json:"finalizers,omitempty" yaml:"finalizers,omitempty"`
	Labels          map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name            string            `json:"name,omitempty" yaml:"name,omitempty"`
	Namespace       string            `json:"namespace,omitempty" yaml:"namespace,omitempty"`
	OwnerReferences []OwnerReference  `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
	Removed         string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	SelfLink        string            `json:"selfLink,omitempty" yaml:"selfLink,omitempty"`
	UUID            string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

type OwnerReference

type OwnerReference struct {
	APIVersion         string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	BlockOwnerDeletion *bool  `json:"blockOwnerDeletion,omitempty" yaml:"blockOwnerDeletion,omitempty"`
	Controller         *bool  `json:"controller,omitempty" yaml:"controller,omitempty"`
	Kind               string `json:"kind,omitempty" yaml:"kind,omitempty"`
	Name               string `json:"name,omitempty" yaml:"name,omitempty"`
	UID                string `json:"uid,omitempty" yaml:"uid,omitempty"`
}

type Permission

type Permission struct {
	APIGroup string   `json:"apiGroup,omitempty" yaml:"apiGroup,omitempty"`
	Name     string   `json:"name,omitempty" yaml:"name,omitempty"`
	Resource string   `json:"resource,omitempty" yaml:"resource,omitempty"`
	Role     string   `json:"role,omitempty" yaml:"role,omitempty"`
	URL      string   `json:"url,omitempty" yaml:"url,omitempty"`
	Verbs    []string `json:"verbs,omitempty" yaml:"verbs,omitempty"`
}

type PersistentVolumeClaimCondition

type PersistentVolumeClaimCondition struct {
	LastProbeTime      string `json:"lastProbeTime,omitempty" yaml:"lastProbeTime,omitempty"`
	LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"lastTransitionTime,omitempty"`
	Message            string `json:"message,omitempty" yaml:"message,omitempty"`
	Reason             string `json:"reason,omitempty" yaml:"reason,omitempty"`
	Status             string `json:"status,omitempty" yaml:"status,omitempty"`
	Type               string `json:"type,omitempty" yaml:"type,omitempty"`
}

type PersistentVolumeClaimStatus

type PersistentVolumeClaimStatus struct {
	AccessModes []string                         `json:"accessModes,omitempty" yaml:"accessModes,omitempty"`
	Capacity    map[string]string                `json:"capacity,omitempty" yaml:"capacity,omitempty"`
	Conditions  []PersistentVolumeClaimCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	Phase       string                           `json:"phase,omitempty" yaml:"phase,omitempty"`
}

type PortBinding

type PortBinding struct {
	IP         string `json:"ip,omitempty" yaml:"ip,omitempty"`
	Port       int64  `json:"port,omitempty" yaml:"port,omitempty"`
	Protocol   string `json:"protocol,omitempty" yaml:"protocol,omitempty"`
	TargetPort int64  `json:"targetPort,omitempty" yaml:"targetPort,omitempty"`
}

type Question

type Question struct {
	Default           string        `json:"default,omitempty" yaml:"default,omitempty"`
	Description       string        `json:"description,omitempty" yaml:"description,omitempty"`
	Group             string        `json:"group,omitempty" yaml:"group,omitempty"`
	InvalidChars      string        `json:"invalidChars,omitempty" yaml:"invalidChars,omitempty"`
	Label             string        `json:"label,omitempty" yaml:"label,omitempty"`
	Max               int64         `json:"max,omitempty" yaml:"max,omitempty"`
	MaxLength         int64         `json:"maxLength,omitempty" yaml:"maxLength,omitempty"`
	Min               int64         `json:"min,omitempty" yaml:"min,omitempty"`
	MinLength         int64         `json:"minLength,omitempty" yaml:"minLength,omitempty"`
	Options           []string      `json:"options,omitempty" yaml:"options,omitempty"`
	Required          bool          `json:"required,omitempty" yaml:"required,omitempty"`
	ShowIf            string        `json:"showIf,omitempty" yaml:"showIf,omitempty"`
	ShowSubquestionIf string        `json:"showSubquestionIf,omitempty" yaml:"showSubquestionIf,omitempty"`
	Subquestions      []SubQuestion `json:"subquestions,omitempty" yaml:"subquestions,omitempty"`
	Type              string        `json:"type,omitempty" yaml:"type,omitempty"`
	ValidChars        string        `json:"validChars,omitempty" yaml:"validChars,omitempty"`
	Variable          string        `json:"variable,omitempty" yaml:"variable,omitempty"`
}

type Redirect

type Redirect struct {
	Host string `json:"host,omitempty" yaml:"host,omitempty"`
	Path string `json:"path,omitempty" yaml:"path,omitempty"`
}

type Retry

type Retry struct {
	Attempts      int64 `json:"attempts,omitempty" yaml:"attempts,omitempty"`
	TimeoutMillis int64 `json:"timeoutMillis,omitempty" yaml:"timeoutMillis,omitempty"`
}

type Rewrite

type Rewrite struct {
	Host string `json:"host,omitempty" yaml:"host,omitempty"`
	Path string `json:"path,omitempty" yaml:"path,omitempty"`
}

type RouteSet

type RouteSet struct {
	types.Resource
	Created              string            `json:"created,omitempty" yaml:"created,omitempty"`
	Labels               map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name                 string            `json:"name,omitempty" yaml:"name,omitempty"`
	ProjectID            string            `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	Removed              string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	Routes               []RouteSpec       `json:"routes,omitempty" yaml:"routes,omitempty"`
	StackID              string            `json:"stackId,omitempty" yaml:"stackId,omitempty"`
	State                string            `json:"state,omitempty" yaml:"state,omitempty"`
	Transitioning        string            `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
	TransitioningMessage string            `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
	UUID                 string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

type RouteSetClient

type RouteSetClient struct {
	// contains filtered or unexported fields
}

func (*RouteSetClient) ByID

func (c *RouteSetClient) ByID(id string) (*RouteSet, error)

func (*RouteSetClient) Create

func (c *RouteSetClient) Create(container *RouteSet) (*RouteSet, error)

func (*RouteSetClient) Delete

func (c *RouteSetClient) Delete(container *RouteSet) error

func (*RouteSetClient) List

func (*RouteSetClient) Replace

func (c *RouteSetClient) Replace(obj *RouteSet) (*RouteSet, error)

func (*RouteSetClient) Update

func (c *RouteSetClient) Update(existing *RouteSet, updates interface{}) (*RouteSet, error)

type RouteSetCollection

type RouteSetCollection struct {
	types.Collection
	Data []RouteSet `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*RouteSetCollection) Next

type RouteSetOperations

type RouteSetOperations interface {
	List(opts *types.ListOpts) (*RouteSetCollection, error)
	Create(opts *RouteSet) (*RouteSet, error)
	Update(existing *RouteSet, updates interface{}) (*RouteSet, error)
	Replace(existing *RouteSet) (*RouteSet, error)
	ByID(id string) (*RouteSet, error)
	Delete(container *RouteSet) error
}

type RouteSetSpec

type RouteSetSpec struct {
	ProjectID string      `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	Routes    []RouteSpec `json:"routes,omitempty" yaml:"routes,omitempty"`
	StackID   string      `json:"stackId,omitempty" yaml:"stackId,omitempty"`
}

type RouteSetStatus

type RouteSetStatus struct {
	Conditions []Condition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
}

type RouteSpec

type RouteSpec struct {
	AddHeaders    []string              `json:"addHeaders,omitempty" yaml:"addHeaders,omitempty"`
	Fault         *Fault                `json:"fault,omitempty" yaml:"fault,omitempty"`
	Matches       []Match               `json:"matches,omitempty" yaml:"matches,omitempty"`
	Mirror        *Destination          `json:"mirror,omitempty" yaml:"mirror,omitempty"`
	Redirect      *Redirect             `json:"redirect,omitempty" yaml:"redirect,omitempty"`
	Retry         *Retry                `json:"retry,omitempty" yaml:"retry,omitempty"`
	Rewrite       *Rewrite              `json:"rewrite,omitempty" yaml:"rewrite,omitempty"`
	TimeoutMillis *int64                `json:"timeoutMillis,omitempty" yaml:"timeoutMillis,omitempty"`
	To            []WeightedDestination `json:"to,omitempty" yaml:"to,omitempty"`
}

type ScaleStatus

type ScaleStatus struct {
	Available   int64 `json:"available,omitempty" yaml:"available,omitempty"`
	Ready       int64 `json:"ready,omitempty" yaml:"ready,omitempty"`
	Unavailable int64 `json:"unavailable,omitempty" yaml:"unavailable,omitempty"`
	Updated     int64 `json:"updated,omitempty" yaml:"updated,omitempty"`
}

type Scheduling

type Scheduling struct {
	Node      *NodeScheduling `json:"node,omitempty" yaml:"node,omitempty"`
	Scheduler string          `json:"scheduler,omitempty" yaml:"scheduler,omitempty"`
}

type SecretMapping

type SecretMapping struct {
	Mode   string `json:"mode,omitempty" yaml:"mode,omitempty"`
	Source string `json:"source,omitempty" yaml:"source,omitempty"`
	Target string `json:"target,omitempty" yaml:"target,omitempty"`
}

type Service

type Service struct {
	types.Resource
	BatchSize              int64                     `json:"batchSize,omitempty" yaml:"batchSize,omitempty"`
	CPUs                   string                    `json:"nanoCpus,omitempty" yaml:"nanoCpus,omitempty"`
	CapAdd                 []string                  `json:"capAdd,omitempty" yaml:"capAdd,omitempty"`
	CapDrop                []string                  `json:"capDrop,omitempty" yaml:"capDrop,omitempty"`
	Command                []string                  `json:"command,omitempty" yaml:"command,omitempty"`
	Configs                []ConfigMapping           `json:"configs,omitempty" yaml:"configs,omitempty"`
	ContainerConcurrency   int64                     `json:"containerConcurrency,omitempty" yaml:"containerConcurrency,omitempty"`
	Created                string                    `json:"created,omitempty" yaml:"created,omitempty"`
	DNS                    []string                  `json:"dns,omitempty" yaml:"dns,omitempty"`
	DNSOptions             []string                  `json:"dnsOptions,omitempty" yaml:"dnsOptions,omitempty"`
	DNSSearch              []string                  `json:"dnsSearch,omitempty" yaml:"dnsSearch,omitempty"`
	DaemonSetStatus        *DaemonSetStatus          `json:"daemonSetStatus,omitempty" yaml:"daemonSetStatus,omitempty"`
	DefaultVolumeDriver    string                    `json:"defaultVolumeDriver,omitempty" yaml:"defaultVolumeDriver,omitempty"`
	DeploymentStrategy     string                    `json:"deploymentStrategy,omitempty" yaml:"deploymentStrategy,omitempty"`
	Devices                []DeviceMapping           `json:"devices,omitempty" yaml:"devices,omitempty"`
	EnableAutoScale        bool                      `json:"enableAutoScale,omitempty" yaml:"enableAutoScale,omitempty"`
	Endpoints              []Endpoint                `json:"endpoints,omitempty" yaml:"endpoints,omitempty"`
	Entrypoint             []string                  `json:"entrypoint,omitempty" yaml:"entrypoint,omitempty"`
	Environment            []string                  `json:"environment,omitempty" yaml:"environment,omitempty"`
	ExposedPorts           []ExposedPort             `json:"expose,omitempty" yaml:"expose,omitempty"`
	ExtraHosts             []string                  `json:"extraHosts,omitempty" yaml:"extraHosts,omitempty"`
	Global                 bool                      `json:"global,omitempty" yaml:"global,omitempty"`
	GlobalPermissions      []Permission              `json:"globalPermissions,omitempty" yaml:"globalPermissions,omitempty"`
	Group                  string                    `json:"group,omitempty" yaml:"group,omitempty"`
	Healthcheck            *HealthConfig             `json:"healthcheck,omitempty" yaml:"healthcheck,omitempty"`
	Hostname               string                    `json:"hostname,omitempty" yaml:"hostname,omitempty"`
	Image                  string                    `json:"image,omitempty" yaml:"image,omitempty"`
	ImagePullPolicy        string                    `json:"imagePullPolicy,omitempty" yaml:"imagePullPolicy,omitempty"`
	Init                   bool                      `json:"init,omitempty" yaml:"init,omitempty"`
	IpcMode                string                    `json:"ipc,omitempty" yaml:"ipc,omitempty"`
	Labels                 map[string]string         `json:"labels,omitempty" yaml:"labels,omitempty"`
	MaxScale               int64                     `json:"maxScale,omitempty" yaml:"maxScale,omitempty"`
	MemoryLimitBytes       int64                     `json:"memoryLimitBytes,omitempty" yaml:"memoryLimitBytes,omitempty"`
	MemoryReservationBytes int64                     `json:"memoryReservationBytes,omitempty" yaml:"memoryReservationBytes,omitempty"`
	Metadata               map[string]interface{}    `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	MinScale               int64                     `json:"minScale,omitempty" yaml:"minScale,omitempty"`
	Name                   string                    `json:"name,omitempty" yaml:"name,omitempty"`
	NetworkMode            string                    `json:"net,omitempty" yaml:"net,omitempty"`
	OpenStdin              bool                      `json:"stdinOpen,omitempty" yaml:"stdinOpen,omitempty"`
	ParentService          string                    `json:"parentService,omitempty" yaml:"parentService,omitempty"`
	Permissions            []Permission              `json:"permissions,omitempty" yaml:"permissions,omitempty"`
	PidMode                string                    `json:"pid,omitempty" yaml:"pid,omitempty"`
	PortBindings           []PortBinding             `json:"ports,omitempty" yaml:"ports,omitempty"`
	Privileged             bool                      `json:"privileged,omitempty" yaml:"privileged,omitempty"`
	ProjectID              string                    `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	Promote                bool                      `json:"promote,omitempty" yaml:"promote,omitempty"`
	ReadonlyRootfs         bool                      `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	Readycheck             *HealthConfig             `json:"readycheck,omitempty" yaml:"readycheck,omitempty"`
	Removed                string                    `json:"removed,omitempty" yaml:"removed,omitempty"`
	RestartPolicy          string                    `json:"restart,omitempty" yaml:"restart,omitempty"`
	Scale                  int64                     `json:"scale,omitempty" yaml:"scale,omitempty"`
	ScaleStatus            *ScaleStatus              `json:"scaleStatus,omitempty" yaml:"scaleStatus,omitempty"`
	Scheduling             *Scheduling               `json:"scheduling,omitempty" yaml:"scheduling,omitempty"`
	Secrets                []SecretMapping           `json:"secrets,omitempty" yaml:"secrets,omitempty"`
	Sidekicks              map[string]SidekickConfig `json:"sidekicks,omitempty" yaml:"sidekicks,omitempty"`
	StackID                string                    `json:"stackId,omitempty" yaml:"stackId,omitempty"`
	State                  string                    `json:"state,omitempty" yaml:"state,omitempty"`
	StatefulSetStatus      *StatefulSetStatus        `json:"statefulSetStatus,omitempty" yaml:"statefulSetStatus,omitempty"`
	StopGracePeriodSeconds *int64                    `json:"stopGracePeriod,omitempty" yaml:"stopGracePeriod,omitempty"`
	Tmpfs                  []Tmpfs                   `json:"tmpfs,omitempty" yaml:"tmpfs,omitempty"`
	Transitioning          string                    `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
	TransitioningMessage   string                    `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
	Tty                    bool                      `json:"tty,omitempty" yaml:"tty,omitempty"`
	UUID                   string                    `json:"uuid,omitempty" yaml:"uuid,omitempty"`
	UpdateOrder            string                    `json:"updateOrder,omitempty" yaml:"updateOrder,omitempty"`
	UpdateStrategy         string                    `json:"updateStrategy,omitempty" yaml:"updateStrategy,omitempty"`
	User                   string                    `json:"user,omitempty" yaml:"user,omitempty"`
	Version                string                    `json:"version,omitempty" yaml:"version,omitempty"`
	Volumes                []Mount                   `json:"volumes,omitempty" yaml:"volumes,omitempty"`
	VolumesFrom            []string                  `json:"volumesFrom,omitempty" yaml:"volumesFrom,omitempty"`
	Weight                 int64                     `json:"weight,omitempty" yaml:"weight,omitempty"`
	WorkingDir             string                    `json:"workingDir,omitempty" yaml:"workingDir,omitempty"`
}

type ServiceClient

type ServiceClient struct {
	// contains filtered or unexported fields
}

func (*ServiceClient) ByID

func (c *ServiceClient) ByID(id string) (*Service, error)

func (*ServiceClient) Create

func (c *ServiceClient) Create(container *Service) (*Service, error)

func (*ServiceClient) Delete

func (c *ServiceClient) Delete(container *Service) error

func (*ServiceClient) List

func (c *ServiceClient) List(opts *types.ListOpts) (*ServiceCollection, error)

func (*ServiceClient) Replace

func (c *ServiceClient) Replace(obj *Service) (*Service, error)

func (*ServiceClient) Update

func (c *ServiceClient) Update(existing *Service, updates interface{}) (*Service, error)

type ServiceCollection

type ServiceCollection struct {
	types.Collection
	Data []Service `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*ServiceCollection) Next

func (cc *ServiceCollection) Next() (*ServiceCollection, error)

type ServiceOperations

type ServiceOperations interface {
	List(opts *types.ListOpts) (*ServiceCollection, error)
	Create(opts *Service) (*Service, error)
	Update(existing *Service, updates interface{}) (*Service, error)
	Replace(existing *Service) (*Service, error)
	ByID(id string) (*Service, error)
	Delete(container *Service) error
}

type ServiceRevision

type ServiceRevision struct {
	ParentService string `json:"parentService,omitempty" yaml:"parentService,omitempty"`
	Promote       bool   `json:"promote,omitempty" yaml:"promote,omitempty"`
	Version       string `json:"version,omitempty" yaml:"version,omitempty"`
	Weight        int64  `json:"weight,omitempty" yaml:"weight,omitempty"`
}

type ServiceSource

type ServiceSource struct {
	Revision string `json:"revision,omitempty" yaml:"revision,omitempty"`
	Service  string `json:"service,omitempty" yaml:"service,omitempty"`
	Stack    string `json:"stack,omitempty" yaml:"stack,omitempty"`
}

type ServiceSpec

type ServiceSpec struct {
	BatchSize              int64                     `json:"batchSize,omitempty" yaml:"batchSize,omitempty"`
	CPUs                   string                    `json:"nanoCpus,omitempty" yaml:"nanoCpus,omitempty"`
	CapAdd                 []string                  `json:"capAdd,omitempty" yaml:"capAdd,omitempty"`
	CapDrop                []string                  `json:"capDrop,omitempty" yaml:"capDrop,omitempty"`
	Command                []string                  `json:"command,omitempty" yaml:"command,omitempty"`
	Configs                []ConfigMapping           `json:"configs,omitempty" yaml:"configs,omitempty"`
	ContainerConcurrency   int64                     `json:"containerConcurrency,omitempty" yaml:"containerConcurrency,omitempty"`
	DNS                    []string                  `json:"dns,omitempty" yaml:"dns,omitempty"`
	DNSOptions             []string                  `json:"dnsOptions,omitempty" yaml:"dnsOptions,omitempty"`
	DNSSearch              []string                  `json:"dnsSearch,omitempty" yaml:"dnsSearch,omitempty"`
	DefaultVolumeDriver    string                    `json:"defaultVolumeDriver,omitempty" yaml:"defaultVolumeDriver,omitempty"`
	DeploymentStrategy     string                    `json:"deploymentStrategy,omitempty" yaml:"deploymentStrategy,omitempty"`
	Devices                []DeviceMapping           `json:"devices,omitempty" yaml:"devices,omitempty"`
	EnableAutoScale        bool                      `json:"enableAutoScale,omitempty" yaml:"enableAutoScale,omitempty"`
	Entrypoint             []string                  `json:"entrypoint,omitempty" yaml:"entrypoint,omitempty"`
	Environment            []string                  `json:"environment,omitempty" yaml:"environment,omitempty"`
	ExposedPorts           []ExposedPort             `json:"expose,omitempty" yaml:"expose,omitempty"`
	ExtraHosts             []string                  `json:"extraHosts,omitempty" yaml:"extraHosts,omitempty"`
	Global                 bool                      `json:"global,omitempty" yaml:"global,omitempty"`
	GlobalPermissions      []Permission              `json:"globalPermissions,omitempty" yaml:"globalPermissions,omitempty"`
	Group                  string                    `json:"group,omitempty" yaml:"group,omitempty"`
	Healthcheck            *HealthConfig             `json:"healthcheck,omitempty" yaml:"healthcheck,omitempty"`
	Hostname               string                    `json:"hostname,omitempty" yaml:"hostname,omitempty"`
	Image                  string                    `json:"image,omitempty" yaml:"image,omitempty"`
	ImagePullPolicy        string                    `json:"imagePullPolicy,omitempty" yaml:"imagePullPolicy,omitempty"`
	Init                   bool                      `json:"init,omitempty" yaml:"init,omitempty"`
	IpcMode                string                    `json:"ipc,omitempty" yaml:"ipc,omitempty"`
	MaxScale               int64                     `json:"maxScale,omitempty" yaml:"maxScale,omitempty"`
	MemoryLimitBytes       int64                     `json:"memoryLimitBytes,omitempty" yaml:"memoryLimitBytes,omitempty"`
	MemoryReservationBytes int64                     `json:"memoryReservationBytes,omitempty" yaml:"memoryReservationBytes,omitempty"`
	Metadata               map[string]interface{}    `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	MinScale               int64                     `json:"minScale,omitempty" yaml:"minScale,omitempty"`
	NetworkMode            string                    `json:"net,omitempty" yaml:"net,omitempty"`
	OpenStdin              bool                      `json:"stdinOpen,omitempty" yaml:"stdinOpen,omitempty"`
	ParentService          string                    `json:"parentService,omitempty" yaml:"parentService,omitempty"`
	Permissions            []Permission              `json:"permissions,omitempty" yaml:"permissions,omitempty"`
	PidMode                string                    `json:"pid,omitempty" yaml:"pid,omitempty"`
	PortBindings           []PortBinding             `json:"ports,omitempty" yaml:"ports,omitempty"`
	Privileged             bool                      `json:"privileged,omitempty" yaml:"privileged,omitempty"`
	ProjectID              string                    `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	Promote                bool                      `json:"promote,omitempty" yaml:"promote,omitempty"`
	ReadonlyRootfs         bool                      `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	Readycheck             *HealthConfig             `json:"readycheck,omitempty" yaml:"readycheck,omitempty"`
	RestartPolicy          string                    `json:"restart,omitempty" yaml:"restart,omitempty"`
	Scale                  int64                     `json:"scale,omitempty" yaml:"scale,omitempty"`
	Scheduling             *Scheduling               `json:"scheduling,omitempty" yaml:"scheduling,omitempty"`
	Secrets                []SecretMapping           `json:"secrets,omitempty" yaml:"secrets,omitempty"`
	ServiceLabels          map[string]string         `json:"serviceLabels,omitempty" yaml:"serviceLabels,omitempty"`
	Sidekicks              map[string]SidekickConfig `json:"sidekicks,omitempty" yaml:"sidekicks,omitempty"`
	StackID                string                    `json:"stackId,omitempty" yaml:"stackId,omitempty"`
	StopGracePeriodSeconds *int64                    `json:"stopGracePeriod,omitempty" yaml:"stopGracePeriod,omitempty"`
	Tmpfs                  []Tmpfs                   `json:"tmpfs,omitempty" yaml:"tmpfs,omitempty"`
	Tty                    bool                      `json:"tty,omitempty" yaml:"tty,omitempty"`
	UpdateOrder            string                    `json:"updateOrder,omitempty" yaml:"updateOrder,omitempty"`
	UpdateStrategy         string                    `json:"updateStrategy,omitempty" yaml:"updateStrategy,omitempty"`
	User                   string                    `json:"user,omitempty" yaml:"user,omitempty"`
	Version                string                    `json:"version,omitempty" yaml:"version,omitempty"`
	Volumes                []Mount                   `json:"volumes,omitempty" yaml:"volumes,omitempty"`
	VolumesFrom            []string                  `json:"volumesFrom,omitempty" yaml:"volumesFrom,omitempty"`
	Weight                 int64                     `json:"weight,omitempty" yaml:"weight,omitempty"`
	WorkingDir             string                    `json:"workingDir,omitempty" yaml:"workingDir,omitempty"`
}

type ServiceStatus

type ServiceStatus struct {
	Conditions        []Condition        `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	DaemonSetStatus   *DaemonSetStatus   `json:"daemonSetStatus,omitempty" yaml:"daemonSetStatus,omitempty"`
	Endpoints         []Endpoint         `json:"endpoints,omitempty" yaml:"endpoints,omitempty"`
	ScaleStatus       *ScaleStatus       `json:"scaleStatus,omitempty" yaml:"scaleStatus,omitempty"`
	StatefulSetStatus *StatefulSetStatus `json:"statefulSetStatus,omitempty" yaml:"statefulSetStatus,omitempty"`
}

type SidekickConfig

type SidekickConfig struct {
	CPUs                   string          `json:"nanoCpus,omitempty" yaml:"nanoCpus,omitempty"`
	CapAdd                 []string        `json:"capAdd,omitempty" yaml:"capAdd,omitempty"`
	CapDrop                []string        `json:"capDrop,omitempty" yaml:"capDrop,omitempty"`
	Command                []string        `json:"command,omitempty" yaml:"command,omitempty"`
	Configs                []ConfigMapping `json:"configs,omitempty" yaml:"configs,omitempty"`
	DefaultVolumeDriver    string          `json:"defaultVolumeDriver,omitempty" yaml:"defaultVolumeDriver,omitempty"`
	Devices                []DeviceMapping `json:"devices,omitempty" yaml:"devices,omitempty"`
	Entrypoint             []string        `json:"entrypoint,omitempty" yaml:"entrypoint,omitempty"`
	Environment            []string        `json:"environment,omitempty" yaml:"environment,omitempty"`
	ExposedPorts           []ExposedPort   `json:"expose,omitempty" yaml:"expose,omitempty"`
	Group                  string          `json:"group,omitempty" yaml:"group,omitempty"`
	Healthcheck            *HealthConfig   `json:"healthcheck,omitempty" yaml:"healthcheck,omitempty"`
	Image                  string          `json:"image,omitempty" yaml:"image,omitempty"`
	ImagePullPolicy        string          `json:"imagePullPolicy,omitempty" yaml:"imagePullPolicy,omitempty"`
	Init                   bool            `json:"init,omitempty" yaml:"init,omitempty"`
	InitContainer          bool            `json:"initContainer,omitempty" yaml:"initContainer,omitempty"`
	MemoryLimitBytes       int64           `json:"memoryLimitBytes,omitempty" yaml:"memoryLimitBytes,omitempty"`
	MemoryReservationBytes int64           `json:"memoryReservationBytes,omitempty" yaml:"memoryReservationBytes,omitempty"`
	OpenStdin              bool            `json:"stdinOpen,omitempty" yaml:"stdinOpen,omitempty"`
	PortBindings           []PortBinding   `json:"ports,omitempty" yaml:"ports,omitempty"`
	Privileged             bool            `json:"privileged,omitempty" yaml:"privileged,omitempty"`
	ReadonlyRootfs         bool            `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	Readycheck             *HealthConfig   `json:"readycheck,omitempty" yaml:"readycheck,omitempty"`
	Secrets                []SecretMapping `json:"secrets,omitempty" yaml:"secrets,omitempty"`
	Tmpfs                  []Tmpfs         `json:"tmpfs,omitempty" yaml:"tmpfs,omitempty"`
	Tty                    bool            `json:"tty,omitempty" yaml:"tty,omitempty"`
	User                   string          `json:"user,omitempty" yaml:"user,omitempty"`
	Volumes                []Mount         `json:"volumes,omitempty" yaml:"volumes,omitempty"`
	VolumesFrom            []string        `json:"volumesFrom,omitempty" yaml:"volumesFrom,omitempty"`
	WorkingDir             string          `json:"workingDir,omitempty" yaml:"workingDir,omitempty"`
}

type Stack

type Stack struct {
	types.Resource
	AdditionalFiles           map[string]string `json:"additionalFiles,omitempty" yaml:"additionalFiles,omitempty"`
	Answers                   map[string]string `json:"answers,omitempty" yaml:"answers,omitempty"`
	Created                   string            `json:"created,omitempty" yaml:"created,omitempty"`
	Description               string            `json:"description,omitempty" yaml:"description,omitempty"`
	DisableMesh               bool              `json:"disableMesh,omitempty" yaml:"disableMesh,omitempty"`
	EnableAutoscale           bool              `json:"enableAutoscale,omitempty" yaml:"enableAutoscale,omitempty"`
	EnableKubernetesResources bool              `json:"enableKubernetesResources,omitempty" yaml:"enableKubernetesResources,omitempty"`
	Labels                    map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name                      string            `json:"name,omitempty" yaml:"name,omitempty"`
	ProjectID                 string            `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	Questions                 []Question        `json:"questions,omitempty" yaml:"questions,omitempty"`
	Removed                   string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	State                     string            `json:"state,omitempty" yaml:"state,omitempty"`
	Template                  string            `json:"template,omitempty" yaml:"template,omitempty"`
	Transitioning             string            `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
	TransitioningMessage      string            `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
	UUID                      string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

type StackClient

type StackClient struct {
	// contains filtered or unexported fields
}

func (*StackClient) ByID

func (c *StackClient) ByID(id string) (*Stack, error)

func (*StackClient) Create

func (c *StackClient) Create(container *Stack) (*Stack, error)

func (*StackClient) Delete

func (c *StackClient) Delete(container *Stack) error

func (*StackClient) List

func (c *StackClient) List(opts *types.ListOpts) (*StackCollection, error)

func (*StackClient) Replace

func (c *StackClient) Replace(obj *Stack) (*Stack, error)

func (*StackClient) Update

func (c *StackClient) Update(existing *Stack, updates interface{}) (*Stack, error)

type StackCollection

type StackCollection struct {
	types.Collection
	Data []Stack `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*StackCollection) Next

func (cc *StackCollection) Next() (*StackCollection, error)

type StackOperations

type StackOperations interface {
	List(opts *types.ListOpts) (*StackCollection, error)
	Create(opts *Stack) (*Stack, error)
	Update(existing *Stack, updates interface{}) (*Stack, error)
	Replace(existing *Stack) (*Stack, error)
	ByID(id string) (*Stack, error)
	Delete(container *Stack) error
}

type StackSpec

type StackSpec struct {
	AdditionalFiles           map[string]string `json:"additionalFiles,omitempty" yaml:"additionalFiles,omitempty"`
	Answers                   map[string]string `json:"answers,omitempty" yaml:"answers,omitempty"`
	Description               string            `json:"description,omitempty" yaml:"description,omitempty"`
	DisableMesh               bool              `json:"disableMesh,omitempty" yaml:"disableMesh,omitempty"`
	EnableAutoscale           bool              `json:"enableAutoscale,omitempty" yaml:"enableAutoscale,omitempty"`
	EnableKubernetesResources bool              `json:"enableKubernetesResources,omitempty" yaml:"enableKubernetesResources,omitempty"`
	Questions                 []Question        `json:"questions,omitempty" yaml:"questions,omitempty"`
	Template                  string            `json:"template,omitempty" yaml:"template,omitempty"`
}

type StackStatus

type StackStatus struct {
	Conditions []Condition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
}

type StatefulSetCondition

type StatefulSetCondition struct {
	LastTransitionTime string `json:"lastTransitionTime,omitempty" yaml:"lastTransitionTime,omitempty"`
	Message            string `json:"message,omitempty" yaml:"message,omitempty"`
	Reason             string `json:"reason,omitempty" yaml:"reason,omitempty"`
	Status             string `json:"status,omitempty" yaml:"status,omitempty"`
	Type               string `json:"type,omitempty" yaml:"type,omitempty"`
}

type StatefulSetStatus

type StatefulSetStatus struct {
	CollisionCount     *int64                 `json:"collisionCount,omitempty" yaml:"collisionCount,omitempty"`
	Conditions         []StatefulSetCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	CurrentReplicas    int64                  `json:"currentReplicas,omitempty" yaml:"currentReplicas,omitempty"`
	CurrentRevision    string                 `json:"currentRevision,omitempty" yaml:"currentRevision,omitempty"`
	ObservedGeneration int64                  `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
	ReadyReplicas      int64                  `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
	Replicas           int64                  `json:"replicas,omitempty" yaml:"replicas,omitempty"`
	UpdateRevision     string                 `json:"updateRevision,omitempty" yaml:"updateRevision,omitempty"`
	UpdatedReplicas    int64                  `json:"updatedReplicas,omitempty" yaml:"updatedReplicas,omitempty"`
}

type Status

type Status struct {
	APIVersion string         `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
	Code       int64          `json:"code,omitempty" yaml:"code,omitempty"`
	Details    *StatusDetails `json:"details,omitempty" yaml:"details,omitempty"`
	Kind       string         `json:"kind,omitempty" yaml:"kind,omitempty"`
	ListMeta   *ListMeta      `json:"metadata,omitempty" yaml:"metadata,omitempty"`
	Message    string         `json:"message,omitempty" yaml:"message,omitempty"`
	Reason     string         `json:"reason,omitempty" yaml:"reason,omitempty"`
	Status     string         `json:"status,omitempty" yaml:"status,omitempty"`
}

type StatusCause

type StatusCause struct {
	Field   string `json:"field,omitempty" yaml:"field,omitempty"`
	Message string `json:"message,omitempty" yaml:"message,omitempty"`
	Type    string `json:"reason,omitempty" yaml:"reason,omitempty"`
}

type StatusDetails

type StatusDetails struct {
	Causes            []StatusCause `json:"causes,omitempty" yaml:"causes,omitempty"`
	Group             string        `json:"group,omitempty" yaml:"group,omitempty"`
	Kind              string        `json:"kind,omitempty" yaml:"kind,omitempty"`
	Name              string        `json:"name,omitempty" yaml:"name,omitempty"`
	RetryAfterSeconds int64         `json:"retryAfterSeconds,omitempty" yaml:"retryAfterSeconds,omitempty"`
	UID               string        `json:"uid,omitempty" yaml:"uid,omitempty"`
}

type StringMatch

type StringMatch struct {
	Exact  string `json:"exact,omitempty" yaml:"exact,omitempty"`
	Prefix string `json:"prefix,omitempty" yaml:"prefix,omitempty"`
	Regexp string `json:"regexp,omitempty" yaml:"regexp,omitempty"`
}

type SubQuestion

type SubQuestion struct {
	Default      string   `json:"default,omitempty" yaml:"default,omitempty"`
	Description  string   `json:"description,omitempty" yaml:"description,omitempty"`
	Group        string   `json:"group,omitempty" yaml:"group,omitempty"`
	InvalidChars string   `json:"invalidChars,omitempty" yaml:"invalidChars,omitempty"`
	Label        string   `json:"label,omitempty" yaml:"label,omitempty"`
	Max          int64    `json:"max,omitempty" yaml:"max,omitempty"`
	MaxLength    int64    `json:"maxLength,omitempty" yaml:"maxLength,omitempty"`
	Min          int64    `json:"min,omitempty" yaml:"min,omitempty"`
	MinLength    int64    `json:"minLength,omitempty" yaml:"minLength,omitempty"`
	Options      []string `json:"options,omitempty" yaml:"options,omitempty"`
	Required     bool     `json:"required,omitempty" yaml:"required,omitempty"`
	ShowIf       string   `json:"showIf,omitempty" yaml:"showIf,omitempty"`
	Type         string   `json:"type,omitempty" yaml:"type,omitempty"`
	ValidChars   string   `json:"validChars,omitempty" yaml:"validChars,omitempty"`
	Variable     string   `json:"variable,omitempty" yaml:"variable,omitempty"`
}

type Tmpfs

type Tmpfs struct {
	Path      string `json:"path,omitempty" yaml:"path,omitempty"`
	ReadOnly  bool   `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
	SizeBytes int64  `json:"sizeBytes,omitempty" yaml:"sizeBytes,omitempty"`
}

type Volume

type Volume struct {
	types.Resource
	AccessMode           string            `json:"accessMode,omitempty" yaml:"accessMode,omitempty"`
	AccessModes          []string          `json:"accessModes,omitempty" yaml:"accessModes,omitempty"`
	Capacity             map[string]string `json:"capacity,omitempty" yaml:"capacity,omitempty"`
	Created              string            `json:"created,omitempty" yaml:"created,omitempty"`
	Description          string            `json:"description,omitempty" yaml:"description,omitempty"`
	Driver               string            `json:"driver,omitempty" yaml:"driver,omitempty"`
	Labels               map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
	Name                 string            `json:"name,omitempty" yaml:"name,omitempty"`
	ProjectID            string            `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	Removed              string            `json:"removed,omitempty" yaml:"removed,omitempty"`
	SizeInGB             int64             `json:"sizeInGb,omitempty" yaml:"sizeInGb,omitempty"`
	StackID              string            `json:"stackId,omitempty" yaml:"stackId,omitempty"`
	State                string            `json:"state,omitempty" yaml:"state,omitempty"`
	Template             bool              `json:"template,omitempty" yaml:"template,omitempty"`
	Transitioning        string            `json:"transitioning,omitempty" yaml:"transitioning,omitempty"`
	TransitioningMessage string            `json:"transitioningMessage,omitempty" yaml:"transitioningMessage,omitempty"`
	UUID                 string            `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}

type VolumeClient

type VolumeClient struct {
	// contains filtered or unexported fields
}

func (*VolumeClient) ByID

func (c *VolumeClient) ByID(id string) (*Volume, error)

func (*VolumeClient) Create

func (c *VolumeClient) Create(container *Volume) (*Volume, error)

func (*VolumeClient) Delete

func (c *VolumeClient) Delete(container *Volume) error

func (*VolumeClient) List

func (c *VolumeClient) List(opts *types.ListOpts) (*VolumeCollection, error)

func (*VolumeClient) Replace

func (c *VolumeClient) Replace(obj *Volume) (*Volume, error)

func (*VolumeClient) Update

func (c *VolumeClient) Update(existing *Volume, updates interface{}) (*Volume, error)

type VolumeCollection

type VolumeCollection struct {
	types.Collection
	Data []Volume `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*VolumeCollection) Next

func (cc *VolumeCollection) Next() (*VolumeCollection, error)

type VolumeOperations

type VolumeOperations interface {
	List(opts *types.ListOpts) (*VolumeCollection, error)
	Create(opts *Volume) (*Volume, error)
	Update(existing *Volume, updates interface{}) (*Volume, error)
	Replace(existing *Volume) (*Volume, error)
	ByID(id string) (*Volume, error)
	Delete(container *Volume) error
}

type VolumeOptions

type VolumeOptions struct {
	Driver   string `json:"driver,omitempty" yaml:"driver,omitempty"`
	NoCopy   bool   `json:"noCopy,omitempty" yaml:"noCopy,omitempty"`
	SizeInGB int64  `json:"sizeInGb,omitempty" yaml:"sizeInGb,omitempty"`
	SubPath  string `json:"subPath,omitempty" yaml:"subPath,omitempty"`
}

type VolumeSpec

type VolumeSpec struct {
	AccessMode  string `json:"accessMode,omitempty" yaml:"accessMode,omitempty"`
	Description string `json:"description,omitempty" yaml:"description,omitempty"`
	Driver      string `json:"driver,omitempty" yaml:"driver,omitempty"`
	ProjectID   string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
	SizeInGB    int64  `json:"sizeInGb,omitempty" yaml:"sizeInGb,omitempty"`
	StackID     string `json:"stackId,omitempty" yaml:"stackId,omitempty"`
	Template    bool   `json:"template,omitempty" yaml:"template,omitempty"`
}

type VolumeStatus

type VolumeStatus struct {
	AccessModes []string                         `json:"accessModes,omitempty" yaml:"accessModes,omitempty"`
	Capacity    map[string]string                `json:"capacity,omitempty" yaml:"capacity,omitempty"`
	Conditions  []PersistentVolumeClaimCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
	Phase       string                           `json:"phase,omitempty" yaml:"phase,omitempty"`
}

type WeightedDestination

type WeightedDestination struct {
	Port     *int64 `json:"port,omitempty" yaml:"port,omitempty"`
	Revision string `json:"revision,omitempty" yaml:"revision,omitempty"`
	Service  string `json:"service,omitempty" yaml:"service,omitempty"`
	Stack    string `json:"stack,omitempty" yaml:"stack,omitempty"`
	Weight   int64  `json:"weight,omitempty" yaml:"weight,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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