Documentation ¶
Index ¶
- type CertKeyDefinition
- type CertKeyMeta
- type CertKeySpec
- type ConfigurationDefinition
- func (configuration *ConfigurationDefinition) ToJson() ([]byte, error)
- func (configuration *ConfigurationDefinition) ToJsonString() (string, error)
- func (configuration *ConfigurationDefinition) ToJsonStringWithKind() (string, error)
- func (configuration *ConfigurationDefinition) Validate() (bool, error)
- type ConfigurationMeta
- type ConfigurationSpec
- type ContainerDefinition
- type ContainerDependsOn
- type ContainerInternal
- type ContainerMeta
- type ContainerNetwork
- type ContainerPort
- type ContainerReadiness
- type ContainerResource
- type ContainerSpec
- type ContainerSpread
- type ContainerVolume
- type ContainersDefinition
- type ContainersMeta
- type GitopsCertKeyRef
- type GitopsDefinition
- type GitopsHttpauthRef
- type GitopsMeta
- type GitopsSpec
- type HttpAuthDefinition
- type HttpAuthMeta
- type HttpAuthSpec
- type NetworkDefinition
- type NetworkMeta
- type NetworkSpec
- type ResourceDefinition
- type ResourceMeta
- type ResourceSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertKeyDefinition ¶ added in v0.0.3
type CertKeyDefinition struct { Meta CertKeyMeta `json:"meta" validate:"required"` Spec CertKeySpec `json:"spec" validate:"required"` }
func (*CertKeyDefinition) ToJson ¶ added in v0.0.52
func (certkey *CertKeyDefinition) ToJson() ([]byte, error)
func (*CertKeyDefinition) ToJsonString ¶ added in v0.0.3
func (certkey *CertKeyDefinition) ToJsonString() (string, error)
func (*CertKeyDefinition) ToJsonStringWithKind ¶ added in v0.0.68
func (certkey *CertKeyDefinition) ToJsonStringWithKind() (string, error)
func (*CertKeyDefinition) Validate ¶ added in v0.0.3
func (certkey *CertKeyDefinition) Validate() (bool, error)
type CertKeyMeta ¶
type CertKeySpec ¶
type CertKeySpec struct { Certificate string `json:"certificate"` PublicKey string `json:"publicKey"` PrivateKey string `json:"privateKey"` PrivateKeyPassword string `json:"privateKeyPassword"` KeyStore string `json:"keyStore"` KeyStorePassword string `json:"keyStorePassword"` CertStore string `json:"certStore"` CertStorePassword string `json:"certStorePassword"` }
type ConfigurationDefinition ¶ added in v0.0.3
type ConfigurationDefinition struct { Meta ConfigurationMeta `json:"meta" validate:"required"` Spec ConfigurationSpec `json:"spec" validate:"required"` }
func (*ConfigurationDefinition) ToJson ¶ added in v0.0.52
func (configuration *ConfigurationDefinition) ToJson() ([]byte, error)
func (*ConfigurationDefinition) ToJsonString ¶ added in v0.0.3
func (configuration *ConfigurationDefinition) ToJsonString() (string, error)
func (*ConfigurationDefinition) ToJsonStringWithKind ¶ added in v0.0.68
func (configuration *ConfigurationDefinition) ToJsonStringWithKind() (string, error)
func (*ConfigurationDefinition) Validate ¶ added in v0.0.3
func (configuration *ConfigurationDefinition) Validate() (bool, error)
type ConfigurationMeta ¶
type ConfigurationSpec ¶
type ContainerDefinition ¶ added in v0.0.3
type ContainerDefinition struct { Meta ContainerMeta `json:"meta" validate:"required"` Spec ContainerSpec `json:"spec" validate:"required"` }
func (*ContainerDefinition) ToJson ¶ added in v0.0.52
func (container *ContainerDefinition) ToJson() ([]byte, error)
func (*ContainerDefinition) ToJsonString ¶ added in v0.0.3
func (container *ContainerDefinition) ToJsonString() (string, error)
func (*ContainerDefinition) ToJsonStringWithKind ¶ added in v0.0.68
func (container *ContainerDefinition) ToJsonStringWithKind() (string, error)
func (*ContainerDefinition) Validate ¶ added in v0.0.3
func (container *ContainerDefinition) Validate() (bool, error)
type ContainerDependsOn ¶ added in v0.0.3
type ContainerInternal ¶
type ContainerInternal struct { Image string `validate:"required" json:"image"` Tag string `validate:"required" json:"tag"` Envs []string `json:"envs"` Entrypoint []string `json:"entrypoint"` Args []string `json:"args"` Dependencies []ContainerDependsOn `json:"dependencies"` Readiness []ContainerReadiness `json:"readiness"` Networks []ContainerNetwork `json:"networks"` Ports []ContainerPort `json:"ports"` Volumes []ContainerVolume `json:"volumes"` Configuration map[string]string `json:"configuration"` Resources []ContainerResource `json:"resources"` Replicas uint64 `validate:"required" json:"replicas"` Capabilities []string `json:"capabilities"` Privileged bool `json:"privileged"` NetworkMode string `json:"network_mode"` Spread ContainerSpread `json:"spread"` Nodes []string `json:"nodes"` Dns []string `json:"dns"` }
type ContainerMeta ¶ added in v0.0.3
type ContainerNetwork ¶ added in v0.0.28
type ContainerPort ¶ added in v0.0.28
type ContainerReadiness ¶ added in v0.0.3
type ContainerResource ¶ added in v0.0.28
type ContainerSpec ¶ added in v0.0.3
type ContainerSpec struct {
Container ContainerInternal `validate:"required" json:"container" `
}
type ContainerSpread ¶ added in v0.0.69
type ContainerVolume ¶ added in v0.0.28
type ContainersDefinition ¶ added in v0.0.3
type ContainersDefinition struct { Kind string `json:"kind" validate:"required"` Meta ContainersMeta `json:"meta" validate:"required"` Spec map[string]ContainerDefinition `json:"spec" validate:"required"` }
func (*ContainersDefinition) ToJson ¶ added in v0.0.52
func (containers *ContainersDefinition) ToJson() ([]byte, error)
func (*ContainersDefinition) ToJsonString ¶ added in v0.0.3
func (containers *ContainersDefinition) ToJsonString() (string, error)
func (*ContainersDefinition) ToJsonStringWithKind ¶ added in v0.0.68
func (containers *ContainersDefinition) ToJsonStringWithKind() (string, error)
func (*ContainersDefinition) Validate ¶ added in v0.0.3
func (containers *ContainersDefinition) Validate() (bool, error)
type ContainersMeta ¶ added in v0.0.3
type GitopsCertKeyRef ¶ added in v0.0.3
type GitopsDefinition ¶ added in v0.0.3
type GitopsDefinition struct { Meta GitopsMeta `json:"meta" validate:"required"` Spec GitopsSpec `json:"spec" validate:"required"` }
func (*GitopsDefinition) ToJson ¶ added in v0.0.52
func (gitops *GitopsDefinition) ToJson() ([]byte, error)
func (*GitopsDefinition) ToJsonString ¶ added in v0.0.3
func (gitops *GitopsDefinition) ToJsonString() (string, error)
func (*GitopsDefinition) ToJsonStringWithKind ¶ added in v0.0.68
func (gitops *GitopsDefinition) ToJsonStringWithKind() (string, error)
func (*GitopsDefinition) Validate ¶ added in v0.0.3
func (gitops *GitopsDefinition) Validate() (bool, error)
type GitopsHttpauthRef ¶ added in v0.0.3
type GitopsMeta ¶
type GitopsSpec ¶
type GitopsSpec struct { RepoURL string `json:"repoURL"` Revision string `json:"revision"` DirectoryPath string `json:"directory"` PoolingInterval string `json:"poolingInterval"` AutomaticSync bool `json:"automaticSync"` API string `json:"API"` Context string `json:"context"` CertKeyRef GitopsCertKeyRef `json:"certKeyRef"` HttpAuthRef GitopsHttpauthRef `json:"httpAuthRef"` }
type HttpAuthDefinition ¶ added in v0.0.3
type HttpAuthDefinition struct { Meta HttpAuthMeta `json:"meta" validate:"required"` Spec HttpAuthSpec `json:"spec" validate:"required"` }
func (*HttpAuthDefinition) ToJson ¶ added in v0.0.52
func (httpauth *HttpAuthDefinition) ToJson() ([]byte, error)
func (*HttpAuthDefinition) ToJsonString ¶ added in v0.0.3
func (httpauth *HttpAuthDefinition) ToJsonString() (string, error)
func (*HttpAuthDefinition) ToJsonStringWithKind ¶ added in v0.0.68
func (httpauth *HttpAuthDefinition) ToJsonStringWithKind() (string, error)
func (*HttpAuthDefinition) Validate ¶ added in v0.0.3
func (httpauth *HttpAuthDefinition) Validate() (bool, error)
type HttpAuthMeta ¶
type HttpAuthSpec ¶
type NetworkDefinition ¶ added in v0.0.24
type NetworkDefinition struct { Meta NetworkMeta `json:"meta" validate:"required"` Spec NetworkSpec `json:"spec" validate:"required"` }
func (*NetworkDefinition) ToJson ¶ added in v0.0.52
func (network *NetworkDefinition) ToJson() ([]byte, error)
func (*NetworkDefinition) ToJsonString ¶ added in v0.0.24
func (network *NetworkDefinition) ToJsonString() (string, error)
func (*NetworkDefinition) ToJsonStringWithKind ¶ added in v0.0.68
func (network *NetworkDefinition) ToJsonStringWithKind() (string, error)
func (*NetworkDefinition) Validate ¶ added in v0.0.24
func (network *NetworkDefinition) Validate() (bool, error)
type NetworkMeta ¶ added in v0.0.24
type NetworkSpec ¶ added in v0.0.24
type ResourceDefinition ¶ added in v0.0.3
type ResourceDefinition struct { Meta ResourceMeta `json:"meta" validate:"required"` Spec ResourceSpec `json:"spec" validate:"required"` }
func (*ResourceDefinition) ToJson ¶ added in v0.0.52
func (resource *ResourceDefinition) ToJson() ([]byte, error)
func (*ResourceDefinition) ToJsonString ¶ added in v0.0.3
func (resource *ResourceDefinition) ToJsonString() (string, error)
func (*ResourceDefinition) ToJsonStringWithKind ¶ added in v0.0.68
func (resource *ResourceDefinition) ToJsonStringWithKind() (string, error)
func (*ResourceDefinition) Validate ¶ added in v0.0.3
func (resource *ResourceDefinition) Validate() (bool, error)
type ResourceMeta ¶
type ResourceSpec ¶
Click to show internal directories.
Click to hide internal directories.