image

package
v0.0.0-...-16c43c8 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 14 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPullSecretToDeployment

func AddPullSecretToDeployment(clientset *kubernetes.Clientset, namespace string, deploymentName string, secretName *string) error

AddPullSecretToDeployment add pull secret to deployment

func AddPullSecretToServiceAccount

func AddPullSecretToServiceAccount(clientset *kubernetes.Clientset, namespace string, serviceaccount string, secretName *string) error

AddPullSecretToServiceAccount add pull secret to service account

Types

type LibertyAppImage

type LibertyAppImage struct {
	ImageReference types.ImageReference
	// contains filtered or unexported fields
}

LibertyAppImage represents a liberty app image on a remote registry

func NewLibertyAppImage

func NewLibertyAppImage(clientset *kubernetes.Clientset, imageName string, namespace string, secretName *string) (*LibertyAppImage, error)

NewLibertyAppImage Create a new LibertyAppImage

func (*LibertyAppImage) GetDigest

func (img *LibertyAppImage) GetDigest(ctx context.Context) (*string, error)

GetDigest get the repo digest of the image

Jump to

Keyboard shortcuts

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