Documentation ¶
Index ¶
- type CertKeyDefinition
- func (certkey *CertKeyDefinition) FromJson(bytes []byte) error
- func (certkey *CertKeyDefinition) GetKind() string
- func (certkey *CertKeyDefinition) GetRuntime() *commonv1.Runtime
- func (certkey *CertKeyDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
- func (certkey *CertKeyDefinition) SetRuntime(runtime *commonv1.Runtime)
- func (certkey *CertKeyDefinition) ToJson() ([]byte, error)
- func (certkey *CertKeyDefinition) ToJsonString() (string, error)
- func (certkey *CertKeyDefinition) ToJsonWithKind() ([]byte, error)
- func (certkey *CertKeyDefinition) Validate() (bool, error)
- type CertKeyMeta
- type CertKeySpec
- type ConfigurationDefinition
- func (configuration *ConfigurationDefinition) FromJson(bytes []byte) error
- func (configuration *ConfigurationDefinition) GetKind() string
- func (configuration *ConfigurationDefinition) GetRuntime() *commonv1.Runtime
- func (configuration *ConfigurationDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
- func (configuration *ConfigurationDefinition) SetRuntime(runtime *commonv1.Runtime)
- func (configuration *ConfigurationDefinition) ToJson() ([]byte, error)
- func (configuration *ConfigurationDefinition) ToJsonString() (string, error)
- func (configuration *ConfigurationDefinition) ToJsonWithKind() ([]byte, error)
- func (configuration *ConfigurationDefinition) Validate() (bool, error)
- type ConfigurationMeta
- type ConfigurationSpec
- type ContainerDefinition
- func (container *ContainerDefinition) FromJson(bytes []byte) error
- func (container *ContainerDefinition) GetKind() string
- func (container *ContainerDefinition) GetRuntime() *commonv1.Runtime
- func (container *ContainerDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
- func (container *ContainerDefinition) SetRuntime(runtime *commonv1.Runtime)
- func (container *ContainerDefinition) ToJson() ([]byte, error)
- func (container *ContainerDefinition) ToJsonString() (string, error)
- func (container *ContainerDefinition) ToJsonWithKind() ([]byte, error)
- func (container *ContainerDefinition) Validate() (bool, error)
- type ContainerDependsOn
- type ContainerInternal
- type ContainerMeta
- type ContainerNetwork
- type ContainerPort
- type ContainerReadiness
- type ContainerResource
- type ContainerSpec
- type ContainerSpread
- type ContainerVolume
- type ContainersDefinition
- func (containers *ContainersDefinition) FromJson(bytes []byte) error
- func (containers *ContainersDefinition) GetKind() string
- func (containers *ContainersDefinition) GetRuntime() *commonv1.Runtime
- func (containers *ContainersDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
- func (containers *ContainersDefinition) SetRuntime(runtime *commonv1.Runtime)
- func (containers *ContainersDefinition) ToJson() ([]byte, error)
- func (containers *ContainersDefinition) ToJsonString() (string, error)
- func (containers *ContainersDefinition) ToJsonWithKind() ([]byte, error)
- func (containers *ContainersDefinition) Validate() (bool, error)
- type ContainersMeta
- type GitopsCertKeyRef
- type GitopsDefinition
- func (gitops *GitopsDefinition) FromJson(bytes []byte) error
- func (gitops *GitopsDefinition) GetKind() string
- func (gitops *GitopsDefinition) GetRuntime() *commonv1.Runtime
- func (gitops *GitopsDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
- func (gitops *GitopsDefinition) SetRuntime(runtime *commonv1.Runtime)
- func (gitops *GitopsDefinition) ToJson() ([]byte, error)
- func (gitops *GitopsDefinition) ToJsonString() (string, error)
- func (gitops *GitopsDefinition) ToJsonWithKind() ([]byte, error)
- func (gitops *GitopsDefinition) Validate() (bool, error)
- type GitopsHttpauthRef
- type GitopsMeta
- type GitopsSpec
- type HttpAuthDefinition
- func (httpauth *HttpAuthDefinition) FromJson(bytes []byte) error
- func (httpauth *HttpAuthDefinition) GetKind() string
- func (httpauth *HttpAuthDefinition) GetRuntime() *commonv1.Runtime
- func (httpauth *HttpAuthDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
- func (httpauth *HttpAuthDefinition) SetRuntime(runtime *commonv1.Runtime)
- func (httpauth *HttpAuthDefinition) ToJson() ([]byte, error)
- func (httpauth *HttpAuthDefinition) ToJsonString() (string, error)
- func (httpauth *HttpAuthDefinition) ToJsonWithKind() ([]byte, error)
- func (httpauth *HttpAuthDefinition) Validate() (bool, error)
- type HttpAuthMeta
- type HttpAuthSpec
- type NetworkDefinition
- func (network *NetworkDefinition) FromJson(bytes []byte) error
- func (network *NetworkDefinition) GetKind() string
- func (network *NetworkDefinition) GetRuntime() *commonv1.Runtime
- func (network *NetworkDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
- func (network *NetworkDefinition) SetRuntime(runtime *commonv1.Runtime)
- func (network *NetworkDefinition) ToJson() ([]byte, error)
- func (network *NetworkDefinition) ToJsonString() (string, error)
- func (network *NetworkDefinition) ToJsonWithKind() ([]byte, error)
- func (network *NetworkDefinition) Validate() (bool, error)
- type NetworkMeta
- type NetworkSpec
- type ResourceDefinition
- func (resource *ResourceDefinition) FromJson(bytes []byte) error
- func (resource *ResourceDefinition) GetKind() string
- func (resource *ResourceDefinition) GetRuntime() *commonv1.Runtime
- func (resource *ResourceDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
- func (resource *ResourceDefinition) SetRuntime(runtime *commonv1.Runtime)
- func (resource *ResourceDefinition) ToJson() ([]byte, error)
- func (resource *ResourceDefinition) ToJsonString() (string, error)
- func (resource *ResourceDefinition) ToJsonWithKind() ([]byte, error)
- func (resource *ResourceDefinition) Validate() (bool, error)
- 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) FromJson ¶ added in v0.0.114
func (certkey *CertKeyDefinition) FromJson(bytes []byte) error
func (*CertKeyDefinition) GetKind ¶ added in v0.0.114
func (certkey *CertKeyDefinition) GetKind() string
func (*CertKeyDefinition) GetRuntime ¶ added in v0.0.114
func (certkey *CertKeyDefinition) GetRuntime() *commonv1.Runtime
func (*CertKeyDefinition) ResolveReferences ¶ added in v0.0.114
func (certkey *CertKeyDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
func (*CertKeyDefinition) SetRuntime ¶ added in v0.0.114
func (certkey *CertKeyDefinition) SetRuntime(runtime *commonv1.Runtime)
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) ToJsonWithKind ¶ added in v0.0.114
func (certkey *CertKeyDefinition) ToJsonWithKind() ([]byte, 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) FromJson ¶ added in v0.0.114
func (configuration *ConfigurationDefinition) FromJson(bytes []byte) error
func (*ConfigurationDefinition) GetKind ¶ added in v0.0.114
func (configuration *ConfigurationDefinition) GetKind() string
func (*ConfigurationDefinition) GetRuntime ¶ added in v0.0.114
func (configuration *ConfigurationDefinition) GetRuntime() *commonv1.Runtime
func (*ConfigurationDefinition) ResolveReferences ¶ added in v0.0.114
func (configuration *ConfigurationDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
func (*ConfigurationDefinition) SetRuntime ¶ added in v0.0.114
func (configuration *ConfigurationDefinition) SetRuntime(runtime *commonv1.Runtime)
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) ToJsonWithKind ¶ added in v0.0.114
func (configuration *ConfigurationDefinition) ToJsonWithKind() ([]byte, 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) FromJson ¶ added in v0.0.114
func (container *ContainerDefinition) FromJson(bytes []byte) error
func (*ContainerDefinition) GetKind ¶ added in v0.0.114
func (container *ContainerDefinition) GetKind() string
func (*ContainerDefinition) GetRuntime ¶ added in v0.0.114
func (container *ContainerDefinition) GetRuntime() *commonv1.Runtime
func (*ContainerDefinition) ResolveReferences ¶ added in v0.0.114
func (container *ContainerDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
func (*ContainerDefinition) SetRuntime ¶ added in v0.0.114
func (container *ContainerDefinition) SetRuntime(runtime *commonv1.Runtime)
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) ToJsonWithKind ¶ added in v0.0.114
func (container *ContainerDefinition) ToJsonWithKind() ([]byte, 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,omitempty"` Entrypoint []string `json:"entrypoint,omitempty"` Args []string `json:"args,omitempty"` Dependencies []ContainerDependsOn `json:"dependencies,omitempty"` Readiness []ContainerReadiness `json:"readiness,omitempty"` Networks []ContainerNetwork `json:"networks,omitempty"` Ports []ContainerPort `json:"ports,omitempty"` Volumes []ContainerVolume `json:"volumes,omitempty"` Configuration map[string]string `json:"configuration,omitempty"` Resources []ContainerResource `json:"resources,omitempty"` Replicas uint64 `validate:"required" json:"replicas"` Capabilities []string `json:"capabilities,omitempty"` Privileged bool `json:"privileged,omitempty"` NetworkMode string `json:"network_mode,omitempty"` Spread ContainerSpread `json:"spread,omitempty"` Nodes []string `json:"nodes,omitempty"` Dns []string `json:"dns,omitempty"` }
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) FromJson ¶ added in v0.0.114
func (containers *ContainersDefinition) FromJson(bytes []byte) error
func (*ContainersDefinition) GetKind ¶ added in v0.0.114
func (containers *ContainersDefinition) GetKind() string
func (*ContainersDefinition) GetRuntime ¶ added in v0.0.114
func (containers *ContainersDefinition) GetRuntime() *commonv1.Runtime
func (*ContainersDefinition) ResolveReferences ¶ added in v0.0.114
func (containers *ContainersDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
func (*ContainersDefinition) SetRuntime ¶ added in v0.0.114
func (containers *ContainersDefinition) SetRuntime(runtime *commonv1.Runtime)
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) ToJsonWithKind ¶ added in v0.0.114
func (containers *ContainersDefinition) ToJsonWithKind() ([]byte, 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) FromJson ¶ added in v0.0.114
func (gitops *GitopsDefinition) FromJson(bytes []byte) error
func (*GitopsDefinition) GetKind ¶ added in v0.0.114
func (gitops *GitopsDefinition) GetKind() string
func (*GitopsDefinition) GetRuntime ¶ added in v0.0.114
func (gitops *GitopsDefinition) GetRuntime() *commonv1.Runtime
func (*GitopsDefinition) ResolveReferences ¶ added in v0.0.114
func (gitops *GitopsDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
func (*GitopsDefinition) SetRuntime ¶ added in v0.0.114
func (gitops *GitopsDefinition) SetRuntime(runtime *commonv1.Runtime)
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) ToJsonWithKind ¶ added in v0.0.114
func (gitops *GitopsDefinition) ToJsonWithKind() ([]byte, 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:"directoryPath"` 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) FromJson ¶ added in v0.0.114
func (httpauth *HttpAuthDefinition) FromJson(bytes []byte) error
func (*HttpAuthDefinition) GetKind ¶ added in v0.0.114
func (httpauth *HttpAuthDefinition) GetKind() string
func (*HttpAuthDefinition) GetRuntime ¶ added in v0.0.114
func (httpauth *HttpAuthDefinition) GetRuntime() *commonv1.Runtime
func (*HttpAuthDefinition) ResolveReferences ¶ added in v0.0.114
func (httpauth *HttpAuthDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
func (*HttpAuthDefinition) SetRuntime ¶ added in v0.0.114
func (httpauth *HttpAuthDefinition) SetRuntime(runtime *commonv1.Runtime)
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) ToJsonWithKind ¶ added in v0.0.114
func (httpauth *HttpAuthDefinition) ToJsonWithKind() ([]byte, 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) FromJson ¶ added in v0.0.114
func (network *NetworkDefinition) FromJson(bytes []byte) error
func (*NetworkDefinition) GetKind ¶ added in v0.0.114
func (network *NetworkDefinition) GetKind() string
func (*NetworkDefinition) GetRuntime ¶ added in v0.0.114
func (network *NetworkDefinition) GetRuntime() *commonv1.Runtime
func (*NetworkDefinition) ResolveReferences ¶ added in v0.0.114
func (network *NetworkDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
func (*NetworkDefinition) SetRuntime ¶ added in v0.0.114
func (network *NetworkDefinition) SetRuntime(runtime *commonv1.Runtime)
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) ToJsonWithKind ¶ added in v0.0.114
func (network *NetworkDefinition) ToJsonWithKind() ([]byte, 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) FromJson ¶ added in v0.0.114
func (resource *ResourceDefinition) FromJson(bytes []byte) error
func (*ResourceDefinition) GetKind ¶ added in v0.0.114
func (resource *ResourceDefinition) GetKind() string
func (*ResourceDefinition) GetRuntime ¶ added in v0.0.114
func (resource *ResourceDefinition) GetRuntime() *commonv1.Runtime
func (*ResourceDefinition) ResolveReferences ¶ added in v0.0.114
func (resource *ResourceDefinition) ResolveReferences(obj contracts.ObjectInterface) ([]contracts.IDefinition, error)
func (*ResourceDefinition) SetRuntime ¶ added in v0.0.114
func (resource *ResourceDefinition) SetRuntime(runtime *commonv1.Runtime)
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) ToJsonWithKind ¶ added in v0.0.114
func (resource *ResourceDefinition) ToJsonWithKind() ([]byte, 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.