ingress

package
v0.0.0-...-091666d Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 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 Builder

type Builder struct {
	// ingresscontroller definition, used to create the ingresscontroller object.
	Definition *v1.IngressController
	// Created ingresscontroller object.
	Object *v1.IngressController
	// contains filtered or unexported fields
}

Builder provides a struct for an ingresscontroller object from the cluster and an ingresscontroller definition.

func Pull

func Pull(apiClient *clients.Settings, name, nsname string) (*Builder, error)

Pull loads an existing ingresscontroller into Builder struct.

func (*Builder) Create

func (builder *Builder) Create() (*Builder, error)

Create makes a ingresscontroller in cluster and stores the created object in struct.

func (*Builder) Delete

func (builder *Builder) Delete() error

Delete removes a ingresscontroller.

func (*Builder) Exists

func (builder *Builder) Exists() bool

Exists checks whether the given ingresscontroller exists.

func (*Builder) Get

func (builder *Builder) Get() (*v1.IngressController, error)

Get fetches existing ingresscontroller from cluster.

func (*Builder) Update

func (builder *Builder) Update() (*Builder, error)

Update renovates a Builder in the cluster and stores the created object in struct.

Jump to

Keyboard shortcuts

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