stamp

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLatestSuccessfulObjFromExaminedObject

func GetLatestSuccessfulObjFromExaminedObject(examinedObjects []*ExaminedObject) *unstructured.Unstructured

Types

type ConfigOutputReader

type ConfigOutputReader struct {
	// contains filtered or unexported fields
}

func (*ConfigOutputReader) Output

func (r *ConfigOutputReader) Output(stampedObject *unstructured.Unstructured) (*templates.Output, error)

type ConfigPassThroughReader

type ConfigPassThroughReader struct {
	// contains filtered or unexported fields
}

func (*ConfigPassThroughReader) Output

type DeploymentConditionError

type DeploymentConditionError struct {
	Err error
}

func NewDeploymentConditionError

func NewDeploymentConditionError(err error) DeploymentConditionError

func (DeploymentConditionError) Error

func (e DeploymentConditionError) Error() string

type DeploymentFailedConditionMetError

type DeploymentFailedConditionMetError struct {
	Err error
}

func NewDeploymentFailedConditionMetError

func NewDeploymentFailedConditionMetError(err error) DeploymentFailedConditionMetError

func (DeploymentFailedConditionMetError) Error

type DeploymentInput

type DeploymentInput interface {
	GetDeployment() *templates.SourceInput
}

type DeploymentPassThroughReader

type DeploymentPassThroughReader struct {
	// contains filtered or unexported fields
}

func (*DeploymentPassThroughReader) Output

type ExaminedObject

type ExaminedObject struct {
	StampedObject *unstructured.Unstructured
	Health        metav1.ConditionStatus
}

type ImageOutputReader

type ImageOutputReader struct {
	// contains filtered or unexported fields
}

func (*ImageOutputReader) Output

func (r *ImageOutputReader) Output(stampedObject *unstructured.Unstructured) (*templates.Output, error)

type ImagePassThroughReader

type ImagePassThroughReader struct {
	// contains filtered or unexported fields
}

func (*ImagePassThroughReader) Output

type JsonPathError

type JsonPathError struct {
	Err error
	// contains filtered or unexported fields
}

func NewJsonPathError

func NewJsonPathError(expression string, err error) JsonPathError

func (JsonPathError) Error

func (e JsonPathError) Error() string

func (JsonPathError) JsonPathExpression

func (e JsonPathError) JsonPathExpression() string

type NoOutputReader

type NoOutputReader struct{}

func (*NoOutputReader) Output

type ObservedGenerationError

type ObservedGenerationError struct {
	Err error
}

func NewObservedGenerationError

func NewObservedGenerationError(err error) ObservedGenerationError

func (ObservedGenerationError) Error

func (e ObservedGenerationError) Error() string

type Outputter

type Outputter interface {
	Output(stampedObject *unstructured.Unstructured) (*templates.Output, error)
}

func NewConfigOutputReader

func NewConfigOutputReader(template *v1alpha1.ClusterConfigTemplate) Outputter

func NewConfigPassThroughReader

func NewConfigPassThroughReader(name string, inputReader PassThroughInput) Outputter

func NewDeploymentPassThroughReader

func NewDeploymentPassThroughReader(inputReader DeploymentInput, template *v1alpha1.ClusterDeploymentTemplate) Outputter

func NewImageOutputReader

func NewImageOutputReader(template *v1alpha1.ClusterImageTemplate) Outputter

func NewImagePassThroughReader

func NewImagePassThroughReader(name string, inputReader PassThroughInput) Outputter

func NewNoOutputReader

func NewNoOutputReader() Outputter

func NewPassThroughReader

func NewPassThroughReader(kind string, name string, inputReader PassThroughInput) (Outputter, error)

func NewReader

func NewReader(template client.Object, inputReader DeploymentInput) (Outputter, error)

func NewSourceOutputReader

func NewSourceOutputReader(template *v1alpha1.ClusterSourceTemplate) Outputter

func NewSourcePassThroughReader

func NewSourcePassThroughReader(name string, inputReader PassThroughInput) Outputter

type PassThroughInput

type PassThroughInput interface {
	GetSources() map[string]templates.SourceInput
	GetImages() map[string]templates.ImageInput
	GetConfigs() map[string]templates.ConfigInput
	GetDeployment() *templates.SourceInput
}

type SourceOutputReader

type SourceOutputReader struct {
	// contains filtered or unexported fields
}

func (*SourceOutputReader) Output

func (r *SourceOutputReader) Output(stampedObject *unstructured.Unstructured) (*templates.Output, error)

type SourcePassThroughReader

type SourcePassThroughReader struct {
	// contains filtered or unexported fields
}

func (*SourcePassThroughReader) Output

Jump to

Keyboard shortcuts

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