config

package
v0.8.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

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

type Metadata

type Metadata struct {
	Name string `yaml:"name"`
}

type MetadataNamespaced added in v0.8.20

type MetadataNamespaced struct {
	Name      string `yaml:"name"`
	Namespace string `yaml:"namespace"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL