manifest

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapBuilder added in v1.1.0

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

func NewConfigMapBuilder added in v1.1.0

func NewConfigMapBuilder() *ConfigMapBuilder

func (*ConfigMapBuilder) Build added in v1.1.0

func (c *ConfigMapBuilder) Build() *v1.ConfigMap

func (*ConfigMapBuilder) Data added in v1.1.0

func (c *ConfigMapBuilder) Data(data map[string]string) *ConfigMapBuilder

func (*ConfigMapBuilder) Name added in v1.1.0

func (c *ConfigMapBuilder) Name(name string) *ConfigMapBuilder

func (*ConfigMapBuilder) Namespace added in v1.1.0

func (c *ConfigMapBuilder) Namespace(namespace string) *ConfigMapBuilder

type Container added in v1.0.7

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

func NewBusyBoxContainerBuilder added in v1.0.7

func NewBusyBoxContainerBuilder() *Container

func NewWindowsContainerBuilder added in v1.0.7

func NewWindowsContainerBuilder() *Container

func (*Container) AddContainerPort added in v1.1.0

func (w *Container) AddContainerPort(containerPort v1.ContainerPort) *Container

func (*Container) Args added in v1.0.7

func (w *Container) Args(arg []string) *Container

func (*Container) Build added in v1.0.7

func (w *Container) Build() v1.Container

func (*Container) Command added in v1.0.7

func (w *Container) Command(cmd []string) *Container

func (*Container) Image added in v1.0.7

func (w *Container) Image(image string) *Container

func (*Container) ImagePullPolicy added in v1.0.7

func (w *Container) ImagePullPolicy(policy v1.PullPolicy) *Container

func (*Container) Name added in v1.0.7

func (w *Container) Name(name string) *Container

func (*Container) Resources added in v1.1.0

func (w *Container) Resources(requirements v1.ResourceRequirements) *Container

type DeploymentBuilder

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

func NewDefaultDeploymentBuilder

func NewDefaultDeploymentBuilder() *DeploymentBuilder

func NewWindowsDeploymentBuilder added in v1.0.7

func NewWindowsDeploymentBuilder() *DeploymentBuilder

func (*DeploymentBuilder) Build

func (d *DeploymentBuilder) Build() *v1.Deployment

func (*DeploymentBuilder) Container

func (d *DeploymentBuilder) Container(container corev1.Container) *DeploymentBuilder

func (*DeploymentBuilder) Name

func (*DeploymentBuilder) Namespace

func (d *DeploymentBuilder) Namespace(namespace string) *DeploymentBuilder

func (*DeploymentBuilder) NodeSelector added in v1.1.0

func (d *DeploymentBuilder) NodeSelector(selector map[string]string) *DeploymentBuilder

func (*DeploymentBuilder) OS

func (*DeploymentBuilder) PodLabel

func (d *DeploymentBuilder) PodLabel(labelKey string, labelValue string) *DeploymentBuilder

func (*DeploymentBuilder) Replicas

func (d *DeploymentBuilder) Replicas(replicas int) *DeploymentBuilder

func (*DeploymentBuilder) TerminationGracePeriod

func (d *DeploymentBuilder) TerminationGracePeriod(tg int) *DeploymentBuilder

type ENIConfigBuilder

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

func NewENIConfigBuilder

func NewENIConfigBuilder() *ENIConfigBuilder

func (*ENIConfigBuilder) Build

func (e *ENIConfigBuilder) Build() (*v1alpha1.ENIConfig, error)

func (*ENIConfigBuilder) Name

func (e *ENIConfigBuilder) Name(name string) *ENIConfigBuilder

func (*ENIConfigBuilder) SecurityGroup

func (e *ENIConfigBuilder) SecurityGroup(securityGroup []string) *ENIConfigBuilder

func (*ENIConfigBuilder) SubnetID

func (e *ENIConfigBuilder) SubnetID(subnetID string) *ENIConfigBuilder

type JobBuilder added in v1.0.7

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

func NewLinuxJob added in v1.1.0

func NewLinuxJob() *JobBuilder

func NewWindowsJob added in v1.0.7

func NewWindowsJob() *JobBuilder

func (*JobBuilder) Build added in v1.0.7

func (j *JobBuilder) Build() *batchV1.Job

func (*JobBuilder) Container added in v1.0.7

func (j *JobBuilder) Container(container v1.Container) *JobBuilder

func (*JobBuilder) ForNode added in v1.1.0

func (j *JobBuilder) ForNode(nodeName string) *JobBuilder

func (*JobBuilder) Name added in v1.0.7

func (j *JobBuilder) Name(name string) *JobBuilder

func (*JobBuilder) Namespace added in v1.0.7

func (j *JobBuilder) Namespace(namespace string) *JobBuilder

func (*JobBuilder) NodeSelector added in v1.1.0

func (j *JobBuilder) NodeSelector(selector map[string]string) *JobBuilder

func (*JobBuilder) OS added in v1.0.7

func (j *JobBuilder) OS(os string) *JobBuilder

func (*JobBuilder) Parallelism added in v1.0.7

func (j *JobBuilder) Parallelism(parallelism int) *JobBuilder

func (*JobBuilder) PodLabels added in v1.0.7

func (j *JobBuilder) PodLabels(labelKey string, labelVal string) *JobBuilder

func (*JobBuilder) RestartPolicy added in v1.1.0

func (j *JobBuilder) RestartPolicy(policy v1.RestartPolicy) *JobBuilder

func (*JobBuilder) TerminationGracePeriod added in v1.0.7

func (j *JobBuilder) TerminationGracePeriod(terminationGracePeriod int) *JobBuilder

type PodBuilder

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

func NewDefaultPodBuilder

func NewDefaultPodBuilder() *PodBuilder

func NewWindowsPodBuilder added in v1.0.7

func NewWindowsPodBuilder() *PodBuilder

func (*PodBuilder) Annotations added in v1.0.8

func (p *PodBuilder) Annotations(annotations map[string]string) *PodBuilder

func (*PodBuilder) Build

func (p *PodBuilder) Build() (*v1.Pod, error)

func (*PodBuilder) Container

func (p *PodBuilder) Container(container v1.Container) *PodBuilder

func (*PodBuilder) Labels

func (p *PodBuilder) Labels(labels map[string]string) *PodBuilder

func (*PodBuilder) Name

func (p *PodBuilder) Name(name string) *PodBuilder

func (*PodBuilder) Namespace

func (p *PodBuilder) Namespace(namespace string) *PodBuilder

func (*PodBuilder) NodeName added in v1.1.0

func (p *PodBuilder) NodeName(nodeName string) *PodBuilder

func (*PodBuilder) OS

func (p *PodBuilder) OS(os string) *PodBuilder

func (*PodBuilder) RestartPolicy added in v1.0.7

func (p *PodBuilder) RestartPolicy(policy v1.RestartPolicy) *PodBuilder

func (*PodBuilder) ServiceAccount

func (p *PodBuilder) ServiceAccount(serviceAccountName string) *PodBuilder

func (*PodBuilder) TerminationGracePeriod

func (p *PodBuilder) TerminationGracePeriod(terminationGracePeriod int) *PodBuilder

type SGPBuilder

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

func NewSGPBuilder

func NewSGPBuilder() *SGPBuilder

func (*SGPBuilder) Build

func (*SGPBuilder) Name

func (s *SGPBuilder) Name(name string) *SGPBuilder

func (*SGPBuilder) Namespace

func (s *SGPBuilder) Namespace(namespace string) *SGPBuilder

func (*SGPBuilder) PodMatchExpression

func (s *SGPBuilder) PodMatchExpression(key string, operator v1.LabelSelectorOperator, values ...string) *SGPBuilder

func (*SGPBuilder) PodMatchLabel

func (s *SGPBuilder) PodMatchLabel(key string, value string) *SGPBuilder

func (*SGPBuilder) SecurityGroup

func (s *SGPBuilder) SecurityGroup(securityGroup []string) *SGPBuilder

func (*SGPBuilder) ServiceAccountMatchExpression

func (s *SGPBuilder) ServiceAccountMatchExpression(key string, operator v1.LabelSelectorOperator, values ...string) *SGPBuilder

func (*SGPBuilder) ServiceAccountMatchLabel

func (s *SGPBuilder) ServiceAccountMatchLabel(key string, value string) *SGPBuilder

type ServiceAccountBuilder

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

func NewServiceAccountBuilder

func NewServiceAccountBuilder() *ServiceAccountBuilder

func (*ServiceAccountBuilder) Build

func (*ServiceAccountBuilder) Label

func (s *ServiceAccountBuilder) Label(labelKey string, labelValue string) *ServiceAccountBuilder

func (*ServiceAccountBuilder) Name

func (*ServiceAccountBuilder) Namespace

func (s *ServiceAccountBuilder) Namespace(namespace string) *ServiceAccountBuilder

type ServiceBuilder added in v1.0.7

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

func NewHTTPService added in v1.0.7

func NewHTTPService() *ServiceBuilder

func (*ServiceBuilder) Build added in v1.0.7

func (s *ServiceBuilder) Build() v1.Service

func (*ServiceBuilder) Name added in v1.0.7

func (s *ServiceBuilder) Name(name string) *ServiceBuilder

func (*ServiceBuilder) Namespace added in v1.0.7

func (s *ServiceBuilder) Namespace(namespace string) *ServiceBuilder

func (*ServiceBuilder) NodePort added in v1.0.7

func (s *ServiceBuilder) NodePort(nodePort int32) *ServiceBuilder

func (*ServiceBuilder) Port added in v1.0.7

func (s *ServiceBuilder) Port(port int32) *ServiceBuilder

func (*ServiceBuilder) Protocol added in v1.0.7

func (s *ServiceBuilder) Protocol(protocol v1.Protocol) *ServiceBuilder

func (*ServiceBuilder) Selector added in v1.0.7

func (s *ServiceBuilder) Selector(labelKey string, labelVal string) *ServiceBuilder

func (*ServiceBuilder) ServiceType added in v1.0.7

func (s *ServiceBuilder) ServiceType(serviceType v1.ServiceType) *ServiceBuilder

Jump to

Keyboard shortcuts

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