Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagerFieldsAppender ¶
type ManagerFieldsAppender struct {
}
ManagerFieldsAppender is a processor that appends manager and source fields to a resource. It will return an error if the resource is already managed by another manager.
type NamespaceOverrider ¶
type NamespaceOverrider struct {
// contains filtered or unexported fields
}
NamespaceOverrider is a processor that overrides the namespace of a resource with a target namespace. This is useful when pushing resources to a different context/org than the one they were pulled from.
func NewNamespaceOverrider ¶
func NewNamespaceOverrider(targetNamespace string) *NamespaceOverrider
NewNamespaceOverrider creates a new NamespaceOverrider that will set the namespace of all processed resources to the given target namespace.
type ServerFieldsStripper ¶
type ServerFieldsStripper struct{}
ServerFieldsStripper is a processor that strips server-side fields from resources.
func (*ServerFieldsStripper) Name ¶
func (m *ServerFieldsStripper) Name() string
Name returns the name of the processor.