Documentation
¶
Index ¶
- func Schema() *jsonschema.Resolved
- type Casting
- type Collector
- type CollectorKind
- func (kind CollectorKind) Enum() []any
- func (kind CollectorKind) MarshalJSON() ([]byte, error)
- func (kind CollectorKind) MarshalText() ([]byte, error)
- func (kind CollectorKind) MarshalYAML() (any, error)
- func (kind CollectorKind) String() string
- func (kind *CollectorKind) UnmarshalJSON(text []byte) error
- func (kind *CollectorKind) UnmarshalText(text []byte) error
- func (kind *CollectorKind) UnmarshalYAML(node *yaml.Node) error
- type CollectorStatus
- type Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Schema ¶
func Schema() *jsonschema.Resolved
Schema returns the resolved JSON schema for a CollectionAgent casting.
Types ¶
type Casting ¶
type Casting struct {
v1alpha1.CastingMeta `json:",inline" yaml:",inline"`
Spec Spec `json:"spec" yaml:"spec" required:"true" description:"CollectionAgent specification"`
// contains filtered or unexported fields
}
Casting is the CollectionAgent kind.
func Default ¶
func Default() *Casting
Default returns a CollectionAgent with the collector molding initialised from its default.
func Example ¶
func Example() *Casting
Example returns a minimal CollectionAgent; the forge pipeline fills in defaults.
func (*Casting) Kind ¶
Kind reports the casting kind. Shadows the embedded CastingMeta.Kind field; the field stays reachable as c.CastingMeta.Kind.
func (*Casting) MergeStatusIntoSpec ¶
MergeStatusIntoSpec folds the collector molding's Status into its Spec.
func (*Casting) TrackableProperties ¶
func (c *Casting) TrackableProperties() domain.Properties
TrackableProperties returns analytics tags for the casting.
type Collector ¶
type Collector struct {
// Kind of the collector to use.
Kind CollectorKind `json:"kind,omitzero" yaml:"kind,omitempty" description:"Kind of the collector to use" examples:"[\"agent\"]"`
// Specification for the collector.
Spec v1alpha1.MoldingSpec `json:"spec" yaml:"spec" description:"Specification for the collector"`
// Status of the collector.
Status CollectorStatus `json:"status" yaml:"status,omitempty" description:"Status of the collector"`
// contains filtered or unexported fields
}
func DefaultCollector ¶
func DefaultCollector() Collector
type CollectorKind ¶
type CollectorKind struct {
// contains filtered or unexported fields
}
var (
CollectorKindAgent CollectorKind = CollectorKind{/* contains filtered or unexported fields */}
)
func CollectorKinds ¶
func CollectorKinds() []CollectorKind
func (CollectorKind) Enum ¶
func (kind CollectorKind) Enum() []any
func (CollectorKind) MarshalJSON ¶
func (kind CollectorKind) MarshalJSON() ([]byte, error)
func (CollectorKind) MarshalText ¶
func (kind CollectorKind) MarshalText() ([]byte, error)
func (CollectorKind) MarshalYAML ¶
func (kind CollectorKind) MarshalYAML() (any, error)
func (CollectorKind) String ¶
func (kind CollectorKind) String() string
func (*CollectorKind) UnmarshalJSON ¶
func (kind *CollectorKind) UnmarshalJSON(text []byte) error
func (*CollectorKind) UnmarshalText ¶
func (kind *CollectorKind) UnmarshalText(text []byte) error
func (*CollectorKind) UnmarshalYAML ¶
func (kind *CollectorKind) UnmarshalYAML(node *yaml.Node) error
type CollectorStatus ¶
type CollectorStatus struct {
v1alpha1.MoldingStatus `json:",inline" yaml:",inline"`
// contains filtered or unexported fields
}
type Spec ¶
type Spec struct {
Deployment v1alpha1.TypeDeployment `json:"deployment" yaml:"deployment" required:"true" description:"Deployment configuration for the platform"`
Patches []v1alpha1.PatchEntry `json:"patches,omitempty" yaml:"patches,omitempty" description:"Patch operations to apply to generated materials"`
Collector Collector `json:"collector,omitzero" yaml:"collector,omitempty" description:"The configuration for the collector molding"`
// contains filtered or unexported fields
}
Spec is the CollectionAgent-specific configuration.
Click to show internal directories.
Click to hide internal directories.