Documentation ¶
Index ¶
- type ConfigMapApplier
- type ConfigValue
- type ConfigValueFunc
- type ConfigValueStatic
- type ConfigValues
- type DeploymentDeployer
- func (d *DeploymentDeployer) Applier() (world.Applier, error)
- func (d *DeploymentDeployer) Children(ctx context.Context) (world.Configurations, error)
- func (d *DeploymentDeployer) Validate(ctx context.Context) error
- func (d *DeploymentDeployer) WithRecreate() *DeploymentDeployer
- func (d *DeploymentDeployer) WithRollingUpdate() *DeploymentDeployer
- type DeploymentDeployerContainer
- type HasContainer
- type IngressDeployer
- type Port
- type Ports
- type SecretApplier
- type SecretFromFile
- type SecretFromTeamvaultFile
- type SecretFromTeamvaultHtpasswd
- type SecretFromTeamvaultPassword
- type SecretFromTeamvaultUser
- type SecretValue
- type SecretValueStatic
- type Secrets
- type ServiceDeployer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapApplier ¶
type ConfigMapApplier struct { Context k8s.Context Namespace k8s.NamespaceName Name k8s.MetadataName ConfigValues ConfigValues }
type ConfigValue ¶
type ConfigValueFunc ¶
type ConfigValueStatic ¶
type ConfigValueStatic string
type ConfigValues ¶
type ConfigValues map[string]ConfigValue
func (ConfigValues) Checksum ¶
func (c ConfigValues) Checksum() string
type DeploymentDeployer ¶
type DeploymentDeployer struct { Context k8s.Context Namespace k8s.NamespaceName Name k8s.MetadataName Containers []HasContainer Volumes []k8s.PodVolume HostNetwork k8s.PodHostNetwork Requirements []world.Configuration DnsPolicy k8s.PodDnsPolicy Annotations k8s.Annotations Strategy k8s.DeploymentStrategy ServiceAccountName string }
func (*DeploymentDeployer) Children ¶
func (d *DeploymentDeployer) Children(ctx context.Context) (world.Configurations, error)
func (*DeploymentDeployer) Validate ¶
func (d *DeploymentDeployer) Validate(ctx context.Context) error
func (*DeploymentDeployer) WithRecreate ¶
func (d *DeploymentDeployer) WithRecreate() *DeploymentDeployer
func (*DeploymentDeployer) WithRollingUpdate ¶
func (d *DeploymentDeployer) WithRollingUpdate() *DeploymentDeployer
type DeploymentDeployerContainer ¶
type DeploymentDeployerContainer struct { Name k8s.ContainerName Command []k8s.Command Args []k8s.Arg Ports []Port Env []k8s.Env Resources k8s.Resources Mounts []k8s.ContainerMount Image docker.Image Requirement world.Configuration LivenessProbe k8s.Probe ReadinessProbe k8s.Probe SecurityContext k8s.SecurityContext }
func (*DeploymentDeployerContainer) Container ¶
func (d *DeploymentDeployerContainer) Container() k8s.Container
func (*DeploymentDeployerContainer) Requirements ¶
func (d *DeploymentDeployerContainer) Requirements() []world.Configuration
type HasContainer ¶
type IngressDeployer ¶
type IngressDeployer struct { Context k8s.Context Namespace k8s.NamespaceName Name k8s.MetadataName Domains k8s.IngressHosts Port k8s.PortName Requirements []world.Configuration }
func (*IngressDeployer) Children ¶
func (i *IngressDeployer) Children(ctx context.Context) (world.Configurations, error)
type Port ¶
type Port struct { Name k8s.PortName Port k8s.PortNumber HostPort k8s.PortNumber Protocol k8s.PortProtocol }
func (Port) ContainerPort ¶
func (p Port) ContainerPort() k8s.ContainerPort
func (Port) ServicePort ¶
func (p Port) ServicePort() k8s.ServicePort
type Ports ¶
type Ports []Port
func (Ports) ContainerPort ¶
func (p Ports) ContainerPort() []k8s.ContainerPort
func (Ports) ServicePort ¶
func (p Ports) ServicePort() []k8s.ServicePort
type SecretApplier ¶
type SecretApplier struct { Context k8s.Context Namespace k8s.NamespaceName Name k8s.MetadataName Secrets Secrets Requirements []world.Configuration }
func (*SecretApplier) Children ¶
func (s *SecretApplier) Children(ctx context.Context) (world.Configurations, error)
type SecretFromFile ¶
type SecretFromFile struct {
Path string
}
type SecretFromTeamvaultFile ¶
type SecretFromTeamvaultFile struct { TeamvaultConnector teamvault.Connector TeamvaultKey teamvault.Key }
type SecretFromTeamvaultHtpasswd ¶
type SecretFromTeamvaultHtpasswd struct { TeamvaultConnector teamvault.Connector TeamvaultKey teamvault.Key }
type SecretFromTeamvaultPassword ¶
type SecretFromTeamvaultPassword struct { TeamvaultConnector teamvault.Connector TeamvaultKey teamvault.Key }
type SecretFromTeamvaultUser ¶
type SecretFromTeamvaultUser struct { TeamvaultConnector teamvault.Connector TeamvaultKey teamvault.Key }
type SecretValue ¶
type SecretValueStatic ¶
type SecretValueStatic []byte
type Secrets ¶
type Secrets map[string]SecretValue
type ServiceDeployer ¶
type ServiceDeployer struct { Context k8s.Context Namespace k8s.NamespaceName Name k8s.MetadataName Ports []Port ClusterIP k8s.ClusterIP Labels k8s.Labels Annotations k8s.Annotations Requirements []world.Configuration }
func (*ServiceDeployer) Children ¶
func (s *ServiceDeployer) Children(ctx context.Context) (world.Configurations, error)
Click to show internal directories.
Click to hide internal directories.