infrastructure

package
v0.0.0-...-c95aa71 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 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 {
	// infrastructure definition, used to create the infrastructure object.
	Definition *configv1.Infrastructure
	// Created infrastructure object.
	Object *configv1.Infrastructure
	// contains filtered or unexported fields
}

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

func Pull

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

Pull loads an existing infrastructure into Builder struct.

func (*Builder) Exists

func (builder *Builder) Exists() bool

Exists checks whether the given infrastructure exists.

func (*Builder) Get

func (builder *Builder) Get() (*configv1.Infrastructure, error)

Get returns the Infrastructure object if found.

Jump to

Keyboard shortcuts

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