imagestream

package
v0.0.0-...-ed48d28 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 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 {
	// imageStream definition, used to create the imageStream object.
	Definition *imagev1.ImageStream
	// Created imageStream object.
	Object *imagev1.ImageStream
	// contains filtered or unexported fields
}

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

func Pull

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

Pull retrieves an existing imageStream object from the cluster.

func (*Builder) Exists

func (builder *Builder) Exists() bool

Exists checks whether the given imageStream exists.

func (*Builder) Get

func (builder *Builder) Get() (*imagev1.ImageStream, error)

Get fetches existing imageStream from cluster.

func (*Builder) GetDockerImage

func (builder *Builder) GetDockerImage(imageTag string) (string, error)

GetDockerImage fetches imageStream DockerImage value.

Jump to

Keyboard shortcuts

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