Documentation ¶
Index ¶
- func NamespacedPolicyFromYaml(data string) (tracingpolicy.TracingPolicy, error)
- func PolicyFromYaml(data string) (tracingpolicy.TracingPolicy, error)
- func PolicyFromYamlFilename(fileName string) (tracingpolicy.TracingPolicy, error)
- type GenericTracingConf
- type GenericTracingConfNamespaced
- type Metadata
- type MetadataNamespaced
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NamespacedPolicyFromYaml ¶ added in v0.8.20
func NamespacedPolicyFromYaml(data string) (tracingpolicy.TracingPolicy, error)
func PolicyFromYaml ¶ added in v0.8.20
func PolicyFromYaml(data string) (tracingpolicy.TracingPolicy, error)
func PolicyFromYamlFilename ¶ added in v0.8.20
func PolicyFromYamlFilename(fileName string) (tracingpolicy.TracingPolicy, error)
Types ¶
type GenericTracingConf ¶
type GenericTracingConf struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata Metadata `json:"metadata"` Spec v1alpha1.TracingPolicySpec `json:"spec"` }
func (*GenericTracingConf) TpInfo ¶
func (cnf *GenericTracingConf) TpInfo() string
func (*GenericTracingConf) TpName ¶ added in v0.8.18
func (cnf *GenericTracingConf) TpName() string
func (*GenericTracingConf) TpSpec ¶
func (cnf *GenericTracingConf) TpSpec() *v1alpha1.TracingPolicySpec
type GenericTracingConfNamespaced ¶ added in v0.8.20
type GenericTracingConfNamespaced struct { ApiVersion string `json:"apiVersion"` Kind string `json:"kind"` Metadata MetadataNamespaced `json:"metadata"` Spec v1alpha1.TracingPolicySpec `json:"spec"` }
func (*GenericTracingConfNamespaced) TpInfo ¶ added in v0.8.20
func (cnf *GenericTracingConfNamespaced) TpInfo() string
func (*GenericTracingConfNamespaced) TpName ¶ added in v0.8.20
func (cnf *GenericTracingConfNamespaced) TpName() string
func (*GenericTracingConfNamespaced) TpNamespace ¶ added in v0.8.20
func (cnf *GenericTracingConfNamespaced) TpNamespace() string
func (*GenericTracingConfNamespaced) TpSpec ¶ added in v0.8.20
func (cnf *GenericTracingConfNamespaced) TpSpec() *v1alpha1.TracingPolicySpec
type MetadataNamespaced ¶ added in v0.8.20
Click to show internal directories.
Click to hide internal directories.