manifest

package
Version: v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) 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

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) 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 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) 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) 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) 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) 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) 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