Documentation ¶
Index ¶
- func GetLatestSuccessfulObjFromExaminedObject(examinedObjects []*ExaminedObject) *unstructured.Unstructured
- type ConfigOutputReader
- type ConfigPassThroughReader
- type DeploymentConditionError
- type DeploymentFailedConditionMetError
- type DeploymentInput
- type DeploymentPassThroughReader
- type ExaminedObject
- type ImageOutputReader
- type ImagePassThroughReader
- type JsonPathError
- type NoOutputReader
- type ObservedGenerationError
- type Outputter
- func NewConfigOutputReader(template *v1alpha1.ClusterConfigTemplate) Outputter
- func NewConfigPassThroughReader(name string, inputReader PassThroughInput) Outputter
- func NewDeploymentPassThroughReader(inputReader DeploymentInput, template *v1alpha1.ClusterDeploymentTemplate) Outputter
- func NewImageOutputReader(template *v1alpha1.ClusterImageTemplate) Outputter
- func NewImagePassThroughReader(name string, inputReader PassThroughInput) Outputter
- func NewNoOutputReader() Outputter
- func NewPassThroughReader(kind string, name string, inputReader PassThroughInput) (Outputter, error)
- func NewReader(template client.Object, inputReader DeploymentInput) (Outputter, error)
- func NewSourceOutputReader(template *v1alpha1.ClusterSourceTemplate) Outputter
- func NewSourcePassThroughReader(name string, inputReader PassThroughInput) Outputter
- type PassThroughInput
- type SourceOutputReader
- type SourcePassThroughReader
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 ¶
func (r *ConfigPassThroughReader) Output(_ *unstructured.Unstructured) (*templates.Output, error)
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 ¶
func (e DeploymentFailedConditionMetError) Error() string
type DeploymentInput ¶
type DeploymentInput interface {
GetDeployment() *templates.SourceInput
}
type DeploymentPassThroughReader ¶
type DeploymentPassThroughReader struct {
// contains filtered or unexported fields
}
func (*DeploymentPassThroughReader) Output ¶
func (r *DeploymentPassThroughReader) Output(stampedObject *unstructured.Unstructured) (*templates.Output, error)
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 ¶
func (r *ImagePassThroughReader) Output(_ *unstructured.Unstructured) (*templates.Output, error)
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 ¶
func (r *NoOutputReader) Output(_ *unstructured.Unstructured) (*templates.Output, error)
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 ¶
func (r *SourcePassThroughReader) Output(_ *unstructured.Unstructured) (*templates.Output, error)
Click to show internal directories.
Click to hide internal directories.