Documentation
¶
Overview ¶
extracted from argoproj/argo-cd/pkg/apis/application/v1alpha1/types.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KnownTypeField ¶
type KnownTypeField struct {
Field string `json:"field,omitempty" protobuf:"bytes,1,opt,name=field"`
Type string `json:"type,omitempty" protobuf:"bytes,2,opt,name=type"`
}
KnownTypeField contains mapping between CRD field and known Kubernetes type
type OverrideIgnoreDiff ¶
type OverrideIgnoreDiff struct {
JSONPointers []string `json:"jsonPointers" protobuf:"bytes,1,rep,name=jSONPointers"`
}
type ResourceActions ¶
type ResourceActions struct {
ActionDiscoveryLua string `json:"discovery.lua,omitempty" yaml:"discovery.lua,omitempty" protobuf:"bytes,1,opt,name=actionDiscoveryLua"`
Definitions []ResourceActionDefinition `json:"definitions,omitempty" protobuf:"bytes,2,rep,name=definitions"`
}
type ResourceIgnoreDifferences ¶
type ResourceIgnoreDifferences struct {
Group string `json:"group,omitempty" protobuf:"bytes,1,opt,name=group"`
Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"`
Name string `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"`
Namespace string `json:"namespace,omitempty" protobuf:"bytes,4,opt,name=namespace"`
JSONPointers []string `json:"jsonPointers" protobuf:"bytes,5,opt,name=jsonPointers"`
}
ResourceIgnoreDifferences contains resource filter and list of json paths which should be ignored during comparison with live state.
type ResourceOverride ¶
type ResourceOverride struct {
HealthLua string `protobuf:"bytes,1,opt,name=healthLua"`
Actions string `protobuf:"bytes,3,opt,name=actions"`
IgnoreDifferences OverrideIgnoreDiff `protobuf:"bytes,2,opt,name=ignoreDifferences"`
KnownTypeFields []KnownTypeField `protobuf:"bytes,4,opt,name=knownTypeFields"`
}
ResourceOverride holds configuration to customize resource diffing and health assessment
func (*ResourceOverride) GetActions ¶
func (o *ResourceOverride) GetActions() (ResourceActions, error)
func (ResourceOverride) MarshalJSON ¶
func (s ResourceOverride) MarshalJSON() ([]byte, error)
func (*ResourceOverride) UnmarshalJSON ¶
func (s *ResourceOverride) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.