kube_deployment

package
v0.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IngressCreateOrUpdate added in v0.1.2

func IngressCreateOrUpdate(
	kubeDeployment Deployment,
	apiGatewayConfig config.APIGatewayConfig) (*extv1beta1.Ingress, error)

IngressCreateOrUpdate ingress update or create

func IngressInspect added in v0.1.2

func IngressInspect(kubeDeployment Deployment) (*extv1beta1.Ingress, error)

IngressInspect ingress get details

func IngressLoadbalancerIP added in v0.1.2

func IngressLoadbalancerIP(kubeDeployment Deployment) (string, error)

IngressLoadbalancerIP ingress get lb ip

Types

type Config

type Config struct {
	ConfigPath string `json:"configPath"`
}

Config kubernates config

type Deployment

type Deployment struct {
	Config Config
}

Deployment kube deployment

func (Deployment) Create

func (kubeDeployment Deployment) Create(deploySpec deployment.Spec) (deployment.Details, error)

Create implementation for deployment.Create()

func (Deployment) CreateOrUpdate

func (kubeDeployment Deployment) CreateOrUpdate(deploySpec deployment.Spec) (deployment.Details, error)

CreateOrUpdate implementation for deployment.CreateOrUpdate()

func (Deployment) Delete

func (kubeDeployment Deployment) Delete(name string) error

Delete implementation for deployment.Delete()

func (Deployment) DeploymentType

func (kubeDeployment Deployment) DeploymentType() string

DeploymentType implementation for deployment.DeploymentType()

func (Deployment) Init

func (kubeDeployment Deployment) Init() error

Init implementation for deployment.Init()

func (Deployment) ListAll

func (kubeDeployment Deployment) ListAll(filters deployment.ListFilters) ([]deployment.Details, error)

ListAll implementation for deployment.ListAll()

func (Deployment) ListByName

func (kubeDeployment Deployment) ListByName(name string) (deployment.Details, error)

ListByName implementation for deployment.ListByName()

func (Deployment) LogsByName

func (kubeDeployment Deployment) LogsByName(name string, options quebictypes.FunctionContainerLogOptions) (string, error)

LogsByName implementation for deployment.LogsByName()

func (Deployment) Update

func (kubeDeployment Deployment) Update(deploySpec deployment.Spec) (deployment.Details, error)

Update implementation for deployment.Update()

Jump to

Keyboard shortcuts

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