Documentation ¶
Index ¶
- Constants
- type Abort
- type BindOptions
- type Client
- type Condition
- type Config
- type ConfigClient
- func (c *ConfigClient) ByID(id string) (*Config, error)
- func (c *ConfigClient) Create(container *Config) (*Config, error)
- func (c *ConfigClient) Delete(container *Config) error
- func (c *ConfigClient) List(opts *types.ListOpts) (*ConfigCollection, error)
- func (c *ConfigClient) Replace(obj *Config) (*Config, error)
- func (c *ConfigClient) Update(existing *Config, updates interface{}) (*Config, error)
- type ConfigCollection
- type ConfigMapping
- type ConfigOperations
- type ConfigSpec
- type CustomResourceDefinition
- type DeploymentCondition
- type DeploymentStatus
- type Destination
- type DeviceMapping
- type ExposedPort
- type Fault
- type HealthConfig
- type Initializer
- type Initializers
- type InternalStack
- type Kubernetes
- type ListMeta
- type Match
- type Mount
- type NodeScheduling
- type ObjectMeta
- type OwnerReference
- type Permission
- type PersistentVolumeClaimCondition
- type PersistentVolumeClaimStatus
- type PortBinding
- type Question
- type Redirect
- type Retry
- type Rewrite
- type RouteSet
- type RouteSetClient
- func (c *RouteSetClient) ByID(id string) (*RouteSet, error)
- func (c *RouteSetClient) Create(container *RouteSet) (*RouteSet, error)
- func (c *RouteSetClient) Delete(container *RouteSet) error
- func (c *RouteSetClient) List(opts *types.ListOpts) (*RouteSetCollection, error)
- func (c *RouteSetClient) Replace(obj *RouteSet) (*RouteSet, error)
- func (c *RouteSetClient) Update(existing *RouteSet, updates interface{}) (*RouteSet, error)
- type RouteSetCollection
- type RouteSetOperations
- type RouteSetSpec
- type RouteSpec
- type ScaleStatus
- type Scheduling
- type SecretMapping
- type Service
- type ServiceClient
- func (c *ServiceClient) ByID(id string) (*Service, error)
- func (c *ServiceClient) Create(container *Service) (*Service, error)
- func (c *ServiceClient) Delete(container *Service) error
- func (c *ServiceClient) List(opts *types.ListOpts) (*ServiceCollection, error)
- func (c *ServiceClient) Replace(obj *Service) (*Service, error)
- func (c *ServiceClient) Update(existing *Service, updates interface{}) (*Service, error)
- type ServiceCollection
- type ServiceOperations
- type ServiceRevision
- type ServiceSource
- type ServiceSpec
- type ServiceStatus
- type ServiceUnversionedSpec
- type SidekickConfig
- type Stack
- type StackClient
- func (c *StackClient) ByID(id string) (*Stack, error)
- func (c *StackClient) Create(container *Stack) (*Stack, error)
- func (c *StackClient) Delete(container *Stack) error
- func (c *StackClient) List(opts *types.ListOpts) (*StackCollection, error)
- func (c *StackClient) Replace(obj *Stack) (*Stack, error)
- func (c *StackClient) Update(existing *Stack, updates interface{}) (*Stack, error)
- type StackCollection
- type StackOperations
- type StackSpec
- type StackStatus
- type Status
- type StatusCause
- type StatusDetails
- type StringMatch
- type SubQuestion
- type Tmpfs
- type Volume
- type VolumeClient
- func (c *VolumeClient) ByID(id string) (*Volume, error)
- func (c *VolumeClient) Create(container *Volume) (*Volume, error)
- func (c *VolumeClient) Delete(container *Volume) error
- func (c *VolumeClient) List(opts *types.ListOpts) (*VolumeCollection, error)
- func (c *VolumeClient) Replace(obj *Volume) (*Volume, error)
- func (c *VolumeClient) Update(existing *Volume, updates interface{}) (*Volume, error)
- type VolumeCollection
- type VolumeOperations
- type VolumeOptions
- type VolumeSpec
- type VolumeStatus
- type WeightedDestination
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" ConfigFieldRemoved = "removed" ConfigFieldSpaceID = "spaceId" ConfigFieldStackID = "stackId" 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" ConfigSpecFieldSpaceID = "spaceId" ConfigSpecFieldStackID = "stackId" )
View Source
const ( CustomResourceDefinitionType = "customResourceDefinition" CustomResourceDefinitionFieldGroup = "group" CustomResourceDefinitionFieldKind = "kind" CustomResourceDefinitionFieldVersion = "version" )
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" 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 ( ExposedPortType = "exposedPort" ExposedPortFieldIP = "ip" ExposedPortFieldName = "name" ExposedPortFieldPort = "port" ExposedPortFieldProtocol = "protocol" ExposedPortFieldTargetPort = "targetPort" )
View Source
const ( FaultType = "fault" FaultFieldAbort = "abort" FaultFieldDelayMillis = "delayMillis" FaultFieldPercentage = "percentage" )
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" 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" RouteSetFieldRemoved = "removed" RouteSetFieldRoutes = "routes" RouteSetFieldSpaceID = "spaceId" RouteSetFieldStackID = "stackId" RouteSetFieldUUID = "uuid" )
View Source
const ( RouteSetSpecType = "routeSetSpec" RouteSetSpecFieldRoutes = "routes" RouteSetSpecFieldSpaceID = "spaceId" RouteSetSpecFieldStackID = "stackId" )
View Source
const ( RouteSpecType = "routeSpec" RouteSpecFieldAddHeaders = "addHeaders" RouteSpecFieldFault = "fault" RouteSpecFieldMatches = "matches" RouteSpecFieldMirror = "mirror" RouteSpecFieldRedirect = "redirect" RouteSpecFieldRetry = "retry" RouteSpecFieldRewrite = "rewrite" RouteSpecFieldTimeoutMillis = "timeoutMillis" RouteSpecFieldTo = "to" RouteSpecFieldWebsocket = "websocket" )
View Source
const ( ScaleStatusType = "scaleStatus" ScaleStatusFieldAvailable = "available" ScaleStatusFieldReady = "ready" 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" ServiceFieldCreated = "created" ServiceFieldDNS = "dns" ServiceFieldDNSOptions = "dnsOptions" ServiceFieldDNSSearch = "dnsSearch" ServiceFieldDefaultVolumeDriver = "defaultVolumeDriver" ServiceFieldDeploymentStrategy = "deploymentStrategy" ServiceFieldDevices = "devices" ServiceFieldEntrypoint = "entrypoint" ServiceFieldEnvironment = "environment" ServiceFieldExposedPorts = "expose" ServiceFieldExtraHosts = "extraHosts" ServiceFieldGlobal = "global" ServiceFieldGlobalPermissions = "globalPermissions" ServiceFieldHealthcheck = "healthcheck" ServiceFieldHostname = "hostname" ServiceFieldImage = "image" ServiceFieldImagePullPolicy = "imagePullPolicy" ServiceFieldInit = "init" ServiceFieldIpcMode = "ipc" ServiceFieldLabels = "labels" ServiceFieldMemoryLimitBytes = "memoryLimitBytes" ServiceFieldMemoryReservationBytes = "memoryReservationBytes" ServiceFieldMetadata = "metadata" ServiceFieldName = "name" ServiceFieldNetworkMode = "net" ServiceFieldOpenStdin = "stdinOpen" ServiceFieldPermissions = "permissions" ServiceFieldPidMode = "pid" ServiceFieldPortBindings = "ports" ServiceFieldPrivileged = "privileged" ServiceFieldReadonlyRootfs = "readOnly" ServiceFieldReadycheck = "readycheck" ServiceFieldRemoved = "removed" ServiceFieldRestartPolicy = "restart" ServiceFieldRevisions = "revisions" ServiceFieldScale = "scale" ServiceFieldScaleStatus = "scaleStatus" ServiceFieldScheduling = "scheduling" ServiceFieldSecrets = "secrets" ServiceFieldSidekicks = "sidekicks" ServiceFieldSpaceID = "spaceId" ServiceFieldStackID = "stackId" ServiceFieldState = "state" ServiceFieldStopGracePeriodSeconds = "stopGracePeriod" ServiceFieldTmpfs = "tmpfs" ServiceFieldTransitioning = "transitioning" ServiceFieldTransitioningMessage = "transitioningMessage" ServiceFieldTty = "tty" ServiceFieldUUID = "uuid" ServiceFieldUpdateOrder = "updateOrder" ServiceFieldUpdateStrategy = "updateStrategy" ServiceFieldUser = "user" ServiceFieldVolumes = "volumes" ServiceFieldVolumesFrom = "volumesFrom" ServiceFieldWorkingDir = "workingDir" )
View Source
const ( ServiceRevisionType = "serviceRevision" ServiceRevisionFieldBatchSize = "batchSize" ServiceRevisionFieldCPUs = "nanoCpus" ServiceRevisionFieldCapAdd = "capAdd" ServiceRevisionFieldCapDrop = "capDrop" ServiceRevisionFieldCommand = "command" ServiceRevisionFieldConditions = "conditions" ServiceRevisionFieldConfigs = "configs" ServiceRevisionFieldDNS = "dns" ServiceRevisionFieldDNSOptions = "dnsOptions" ServiceRevisionFieldDNSSearch = "dnsSearch" ServiceRevisionFieldDefaultVolumeDriver = "defaultVolumeDriver" ServiceRevisionFieldDeploymentStrategy = "deploymentStrategy" ServiceRevisionFieldDevices = "devices" ServiceRevisionFieldEntrypoint = "entrypoint" ServiceRevisionFieldEnvironment = "environment" ServiceRevisionFieldExposedPorts = "expose" ServiceRevisionFieldExtraHosts = "extraHosts" ServiceRevisionFieldGlobal = "global" ServiceRevisionFieldGlobalPermissions = "globalPermissions" ServiceRevisionFieldHealthcheck = "healthcheck" ServiceRevisionFieldHostname = "hostname" ServiceRevisionFieldImage = "image" ServiceRevisionFieldImagePullPolicy = "imagePullPolicy" ServiceRevisionFieldInit = "init" ServiceRevisionFieldIpcMode = "ipc" ServiceRevisionFieldLabels = "labels" ServiceRevisionFieldMemoryLimitBytes = "memoryLimitBytes" ServiceRevisionFieldMemoryReservationBytes = "memoryReservationBytes" ServiceRevisionFieldMetadata = "metadata" ServiceRevisionFieldNetworkMode = "net" ServiceRevisionFieldOpenStdin = "stdinOpen" ServiceRevisionFieldPermissions = "permissions" ServiceRevisionFieldPidMode = "pid" ServiceRevisionFieldPortBindings = "ports" ServiceRevisionFieldPrivileged = "privileged" ServiceRevisionFieldPromote = "promote" ServiceRevisionFieldReadonlyRootfs = "readOnly" ServiceRevisionFieldReadycheck = "readycheck" ServiceRevisionFieldRestartPolicy = "restart" ServiceRevisionFieldScale = "scale" ServiceRevisionFieldScaleStatus = "scaleStatus" ServiceRevisionFieldScheduling = "scheduling" ServiceRevisionFieldSecrets = "secrets" ServiceRevisionFieldSidekicks = "sidekicks" ServiceRevisionFieldState = "state" ServiceRevisionFieldStopGracePeriodSeconds = "stopGracePeriod" ServiceRevisionFieldTmpfs = "tmpfs" ServiceRevisionFieldTransitioning = "transitioning" ServiceRevisionFieldTransitioningMessage = "transitioningMessage" ServiceRevisionFieldTty = "tty" ServiceRevisionFieldUpdateOrder = "updateOrder" ServiceRevisionFieldUpdateStrategy = "updateStrategy" ServiceRevisionFieldUser = "user" ServiceRevisionFieldVolumes = "volumes" ServiceRevisionFieldVolumesFrom = "volumesFrom" ServiceRevisionFieldWeight = "weight" ServiceRevisionFieldWorkingDir = "workingDir" )
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" ServiceSpecFieldDNS = "dns" ServiceSpecFieldDNSOptions = "dnsOptions" ServiceSpecFieldDNSSearch = "dnsSearch" ServiceSpecFieldDefaultVolumeDriver = "defaultVolumeDriver" ServiceSpecFieldDeploymentStrategy = "deploymentStrategy" ServiceSpecFieldDevices = "devices" ServiceSpecFieldEntrypoint = "entrypoint" ServiceSpecFieldEnvironment = "environment" ServiceSpecFieldExposedPorts = "expose" ServiceSpecFieldExtraHosts = "extraHosts" ServiceSpecFieldGlobal = "global" ServiceSpecFieldGlobalPermissions = "globalPermissions" ServiceSpecFieldHealthcheck = "healthcheck" ServiceSpecFieldHostname = "hostname" ServiceSpecFieldImage = "image" ServiceSpecFieldImagePullPolicy = "imagePullPolicy" ServiceSpecFieldInit = "init" ServiceSpecFieldIpcMode = "ipc" ServiceSpecFieldMemoryLimitBytes = "memoryLimitBytes" ServiceSpecFieldMemoryReservationBytes = "memoryReservationBytes" ServiceSpecFieldMetadata = "metadata" ServiceSpecFieldNetworkMode = "net" ServiceSpecFieldOpenStdin = "stdinOpen" ServiceSpecFieldPermissions = "permissions" ServiceSpecFieldPidMode = "pid" ServiceSpecFieldPortBindings = "ports" ServiceSpecFieldPrivileged = "privileged" ServiceSpecFieldReadonlyRootfs = "readOnly" ServiceSpecFieldReadycheck = "readycheck" ServiceSpecFieldRestartPolicy = "restart" ServiceSpecFieldRevisions = "revisions" ServiceSpecFieldScale = "scale" ServiceSpecFieldScheduling = "scheduling" ServiceSpecFieldSecrets = "secrets" ServiceSpecFieldServiceLabels = "serviceLabels" ServiceSpecFieldSidekicks = "sidekicks" ServiceSpecFieldSpaceID = "spaceId" ServiceSpecFieldStackID = "stackId" ServiceSpecFieldStopGracePeriodSeconds = "stopGracePeriod" ServiceSpecFieldTmpfs = "tmpfs" ServiceSpecFieldTty = "tty" ServiceSpecFieldUpdateOrder = "updateOrder" ServiceSpecFieldUpdateStrategy = "updateStrategy" ServiceSpecFieldUser = "user" ServiceSpecFieldVolumes = "volumes" ServiceSpecFieldVolumesFrom = "volumesFrom" ServiceSpecFieldWorkingDir = "workingDir" )
View Source
const ( ServiceStatusType = "serviceStatus" ServiceStatusFieldConditions = "conditions" ServiceStatusFieldScaleStatus = "scaleStatus" )
View Source
const ( ServiceUnversionedSpecType = "serviceUnversionedSpec" ServiceUnversionedSpecFieldBatchSize = "batchSize" ServiceUnversionedSpecFieldCPUs = "nanoCpus" ServiceUnversionedSpecFieldCapAdd = "capAdd" ServiceUnversionedSpecFieldCapDrop = "capDrop" ServiceUnversionedSpecFieldCommand = "command" ServiceUnversionedSpecFieldConfigs = "configs" ServiceUnversionedSpecFieldDNS = "dns" ServiceUnversionedSpecFieldDNSOptions = "dnsOptions" ServiceUnversionedSpecFieldDNSSearch = "dnsSearch" ServiceUnversionedSpecFieldDefaultVolumeDriver = "defaultVolumeDriver" ServiceUnversionedSpecFieldDeploymentStrategy = "deploymentStrategy" ServiceUnversionedSpecFieldDevices = "devices" ServiceUnversionedSpecFieldEntrypoint = "entrypoint" ServiceUnversionedSpecFieldEnvironment = "environment" ServiceUnversionedSpecFieldExposedPorts = "expose" ServiceUnversionedSpecFieldExtraHosts = "extraHosts" ServiceUnversionedSpecFieldGlobal = "global" ServiceUnversionedSpecFieldGlobalPermissions = "globalPermissions" ServiceUnversionedSpecFieldHealthcheck = "healthcheck" ServiceUnversionedSpecFieldHostname = "hostname" ServiceUnversionedSpecFieldImage = "image" ServiceUnversionedSpecFieldImagePullPolicy = "imagePullPolicy" ServiceUnversionedSpecFieldInit = "init" ServiceUnversionedSpecFieldIpcMode = "ipc" ServiceUnversionedSpecFieldLabels = "labels" ServiceUnversionedSpecFieldMemoryLimitBytes = "memoryLimitBytes" ServiceUnversionedSpecFieldMemoryReservationBytes = "memoryReservationBytes" ServiceUnversionedSpecFieldMetadata = "metadata" ServiceUnversionedSpecFieldNetworkMode = "net" ServiceUnversionedSpecFieldOpenStdin = "stdinOpen" ServiceUnversionedSpecFieldPermissions = "permissions" ServiceUnversionedSpecFieldPidMode = "pid" ServiceUnversionedSpecFieldPortBindings = "ports" ServiceUnversionedSpecFieldPrivileged = "privileged" ServiceUnversionedSpecFieldReadonlyRootfs = "readOnly" ServiceUnversionedSpecFieldReadycheck = "readycheck" ServiceUnversionedSpecFieldRestartPolicy = "restart" ServiceUnversionedSpecFieldScale = "scale" ServiceUnversionedSpecFieldScheduling = "scheduling" ServiceUnversionedSpecFieldSecrets = "secrets" ServiceUnversionedSpecFieldSidekicks = "sidekicks" ServiceUnversionedSpecFieldStopGracePeriodSeconds = "stopGracePeriod" ServiceUnversionedSpecFieldTmpfs = "tmpfs" ServiceUnversionedSpecFieldTty = "tty" ServiceUnversionedSpecFieldUpdateOrder = "updateOrder" ServiceUnversionedSpecFieldUpdateStrategy = "updateStrategy" ServiceUnversionedSpecFieldUser = "user" ServiceUnversionedSpecFieldVolumes = "volumes" ServiceUnversionedSpecFieldVolumesFrom = "volumesFrom" ServiceUnversionedSpecFieldWorkingDir = "workingDir" )
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" 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" StackFieldEnableKubernetesResources = "enableKubernetesResources" StackFieldLabels = "labels" StackFieldName = "name" StackFieldQuestions = "questions" StackFieldRemoved = "removed" StackFieldSpaceID = "spaceId" StackFieldState = "state" StackFieldTemplate = "template" StackFieldTransitioning = "transitioning" StackFieldTransitioningMessage = "transitioningMessage" StackFieldUUID = "uuid" )
View Source
const ( StackSpecType = "stackSpec" StackSpecFieldAdditionalFiles = "additionalFiles" StackSpecFieldAnswers = "answers" StackSpecFieldDescription = "description" StackSpecFieldDisableMesh = "disableMesh" StackSpecFieldEnableKubernetesResources = "enableKubernetesResources" StackSpecFieldQuestions = "questions" StackSpecFieldTemplate = "template" )
View Source
const ( StackStatusType = "stackStatus" StackStatusFieldConditions = "conditions" )
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" VolumeFieldRemoved = "removed" VolumeFieldSizeInGB = "sizeInGb" VolumeFieldSpaceID = "spaceId" 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" VolumeSpecFieldSizeInGB = "sizeInGb" VolumeSpecFieldSpaceID = "spaceId" 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 BindOptions ¶
type BindOptions struct {
Propagation string `json:"propagation,omitempty" yaml:"propagation,omitempty"`
}
type Client ¶
type Client struct { clientbase.APIBaseClient Stack StackOperations Service ServiceOperations Config ConfigOperations Volume VolumeOperations RouteSet RouteSetOperations }
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"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` SpaceID string `json:"spaceId,omitempty" yaml:"spaceId,omitempty"` StackID string `json:"stackId,omitempty" yaml:"stackId,omitempty"` UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
type ConfigClient ¶
type ConfigClient struct {
// contains filtered or unexported fields
}
func (*ConfigClient) Delete ¶
func (c *ConfigClient) Delete(container *Config) error
func (*ConfigClient) List ¶
func (c *ConfigClient) List(opts *types.ListOpts) (*ConfigCollection, 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 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"` SpaceID string `json:"spaceId,omitempty" yaml:"spaceId,omitempty"` StackID string `json:"stackId,omitempty" yaml:"stackId,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"` UpdatedReplicas int64 `json:"updatedReplicas,omitempty" yaml:"updatedReplicas,omitempty"` }
type Destination ¶
type DeviceMapping ¶
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 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"` 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 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 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 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"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` Routes []RouteSpec `json:"routes,omitempty" yaml:"routes,omitempty"` SpaceID string `json:"spaceId,omitempty" yaml:"spaceId,omitempty"` StackID string `json:"stackId,omitempty" yaml:"stackId,omitempty"` UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"` }
type RouteSetClient ¶
type RouteSetClient struct {
// contains filtered or unexported fields
}
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 (c *RouteSetClient) List(opts *types.ListOpts) (*RouteSetCollection, error)
type RouteSetCollection ¶
type RouteSetCollection struct { types.Collection Data []RouteSet `json:"data,omitempty"` // contains filtered or unexported fields }
func (*RouteSetCollection) Next ¶
func (cc *RouteSetCollection) Next() (*RouteSetCollection, error)
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 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"` Websocket bool `json:"websocket,omitempty" yaml:"websocket,omitempty"` }
type ScaleStatus ¶
type Scheduling ¶
type Scheduling struct { Node *NodeScheduling `json:"node,omitempty" yaml:"node,omitempty"` Scheduler string `json:"scheduler,omitempty" yaml:"scheduler,omitempty"` }
type SecretMapping ¶
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"` 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"` DefaultVolumeDriver string `json:"defaultVolumeDriver,omitempty" yaml:"defaultVolumeDriver,omitempty"` DeploymentStrategy string `json:"deploymentStrategy,omitempty" yaml:"deploymentStrategy,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"` ExtraHosts []string `json:"extraHosts,omitempty" yaml:"extraHosts,omitempty"` Global bool `json:"global,omitempty" yaml:"global,omitempty"` GlobalPermissions []Permission `json:"globalPermissions,omitempty" yaml:"globalPermissions,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"` 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"` Name string `json:"name,omitempty" yaml:"name,omitempty"` NetworkMode string `json:"net,omitempty" yaml:"net,omitempty"` OpenStdin bool `json:"stdinOpen,omitempty" yaml:"stdinOpen,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"` 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"` Revisions map[string]ServiceRevision `json:"revisions,omitempty" yaml:"revisions,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"` SpaceID string `json:"spaceId,omitempty" yaml:"spaceId,omitempty"` StackID string `json:"stackId,omitempty" yaml:"stackId,omitempty"` State string `json:"state,omitempty" yaml:"state,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"` 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 ServiceClient ¶
type ServiceClient struct {
// contains filtered or unexported fields
}
func (*ServiceClient) Delete ¶
func (c *ServiceClient) Delete(container *Service) error
func (*ServiceClient) List ¶
func (c *ServiceClient) List(opts *types.ListOpts) (*ServiceCollection, 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 { 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"` Conditions []Condition `json:"conditions,omitempty" yaml:"conditions,omitempty"` Configs []ConfigMapping `json:"configs,omitempty" yaml:"configs,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"` 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"` 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"` 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"` NetworkMode string `json:"net,omitempty" yaml:"net,omitempty"` OpenStdin bool `json:"stdinOpen,omitempty" yaml:"stdinOpen,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"` 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"` 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"` State string `json:"state,omitempty" yaml:"state,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"` UpdateOrder string `json:"updateOrder,omitempty" yaml:"updateOrder,omitempty"` UpdateStrategy string `json:"updateStrategy,omitempty" yaml:"updateStrategy,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"` Weight int64 `json:"weight,omitempty" yaml:"weight,omitempty"` WorkingDir string `json:"workingDir,omitempty" yaml:"workingDir,omitempty"` }
type ServiceSource ¶
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"` 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"` 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"` 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"` 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"` NetworkMode string `json:"net,omitempty" yaml:"net,omitempty"` OpenStdin bool `json:"stdinOpen,omitempty" yaml:"stdinOpen,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"` ReadonlyRootfs bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"` Readycheck *HealthConfig `json:"readycheck,omitempty" yaml:"readycheck,omitempty"` RestartPolicy string `json:"restart,omitempty" yaml:"restart,omitempty"` Revisions map[string]ServiceRevision `json:"revisions,omitempty" yaml:"revisions,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"` SpaceID string `json:"spaceId,omitempty" yaml:"spaceId,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"` 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 ServiceStatus ¶
type ServiceStatus struct { Conditions []Condition `json:"conditions,omitempty" yaml:"conditions,omitempty"` ScaleStatus *ScaleStatus `json:"scaleStatus,omitempty" yaml:"scaleStatus,omitempty"` }
type ServiceUnversionedSpec ¶
type ServiceUnversionedSpec 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"` 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"` 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"` 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"` 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"` NetworkMode string `json:"net,omitempty" yaml:"net,omitempty"` OpenStdin bool `json:"stdinOpen,omitempty" yaml:"stdinOpen,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"` 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"` Sidekicks map[string]SidekickConfig `json:"sidekicks,omitempty" yaml:"sidekicks,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"` 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 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"` 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"` 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"` Questions []Question `json:"questions,omitempty" yaml:"questions,omitempty"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` SpaceID string `json:"spaceId,omitempty" yaml:"spaceId,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) Delete ¶
func (c *StackClient) Delete(container *Stack) error
func (*StackClient) List ¶
func (c *StackClient) List(opts *types.ListOpts) (*StackCollection, 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 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"` 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 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 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 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 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"` Removed string `json:"removed,omitempty" yaml:"removed,omitempty"` SizeInGB int64 `json:"sizeInGb,omitempty" yaml:"sizeInGb,omitempty"` SpaceID string `json:"spaceId,omitempty" yaml:"spaceId,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) Delete ¶
func (c *VolumeClient) Delete(container *Volume) error
func (*VolumeClient) List ¶
func (c *VolumeClient) List(opts *types.ListOpts) (*VolumeCollection, 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 VolumeOptions ¶
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"` SizeInGB int64 `json:"sizeInGb,omitempty" yaml:"sizeInGb,omitempty"` SpaceID string `json:"spaceId,omitempty" yaml:"spaceId,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 ¶
- zz_generated_abort.go
- zz_generated_bind_options.go
- zz_generated_client.go
- zz_generated_condition.go
- zz_generated_config.go
- zz_generated_config_mapping.go
- zz_generated_config_spec.go
- zz_generated_custom_resource_definition.go
- zz_generated_deployment_condition.go
- zz_generated_deployment_status.go
- zz_generated_destination.go
- zz_generated_device_mapping.go
- zz_generated_exposed_port.go
- zz_generated_fault.go
- zz_generated_health_config.go
- zz_generated_initializer.go
- zz_generated_initializers.go
- zz_generated_internal_stack.go
- zz_generated_kubernetes.go
- zz_generated_list_meta.go
- zz_generated_match.go
- zz_generated_mount.go
- zz_generated_node_scheduling.go
- zz_generated_object_meta.go
- zz_generated_owner_reference.go
- zz_generated_permission.go
- zz_generated_persistent_volume_claim_condition.go
- zz_generated_persistent_volume_claim_status.go
- zz_generated_port_binding.go
- zz_generated_question.go
- zz_generated_redirect.go
- zz_generated_retry.go
- zz_generated_rewrite.go
- zz_generated_route_set.go
- zz_generated_route_set_spec.go
- zz_generated_route_spec.go
- zz_generated_scale_status.go
- zz_generated_scheduling.go
- zz_generated_secret_mapping.go
- zz_generated_service.go
- zz_generated_service_revision.go
- zz_generated_service_source.go
- zz_generated_service_spec.go
- zz_generated_service_status.go
- zz_generated_service_unversioned_spec.go
- zz_generated_sidekick_config.go
- zz_generated_stack.go
- zz_generated_stack_spec.go
- zz_generated_stack_status.go
- zz_generated_status.go
- zz_generated_status_cause.go
- zz_generated_status_details.go
- zz_generated_string_match.go
- zz_generated_sub_question.go
- zz_generated_tmpfs.go
- zz_generated_volume.go
- zz_generated_volume_options.go
- zz_generated_volume_spec.go
- zz_generated_volume_status.go
- zz_generated_weighted_destination.go
Click to show internal directories.
Click to hide internal directories.