schemas

package
v0.0.0-...-51cb1d6 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigbangOutput

type BigbangOutput struct {
	Data HelmOutput
}

func (*BigbangOutput) MarshalHumanReadable

func (o *BigbangOutput) MarshalHumanReadable() ([]byte, error)

func (*BigbangOutput) MarshalJson

func (o *BigbangOutput) MarshalJson() ([]byte, error)

func (*BigbangOutput) MarshalYaml

func (o *BigbangOutput) MarshalYaml() ([]byte, error)

func (*BigbangOutput) String

func (o *BigbangOutput) String() string

type CheckStatusOutput

type CheckStatusOutput struct {
	Name   string
	Output []string
}

func (*CheckStatusOutput) MarshalHumanReadable

func (cso *CheckStatusOutput) MarshalHumanReadable() ([]byte, error)

func (*CheckStatusOutput) MarshalJson

func (cso *CheckStatusOutput) MarshalJson() ([]byte, error)

func (*CheckStatusOutput) MarshalYaml

func (cso *CheckStatusOutput) MarshalYaml() ([]byte, error)

Outputable interface implementations

func (*CheckStatusOutput) String

func (cso *CheckStatusOutput) String() string

type CheckStepOutput

type CheckStepOutput struct {
	Name   string
	Output []string
	Status string
}

func (*CheckStepOutput) MarshalHumanReadable

func (cso *CheckStepOutput) MarshalHumanReadable() ([]byte, error)

func (*CheckStepOutput) MarshalJson

func (cso *CheckStepOutput) MarshalJson() ([]byte, error)

func (*CheckStepOutput) MarshalYaml

func (cso *CheckStepOutput) MarshalYaml() ([]byte, error)

Outputable interface implementations

func (*CheckStepOutput) String

func (cso *CheckStepOutput) String() string

type CrdPolicyOutput

type CrdPolicyOutput struct {
	CrdName  string
	Policies []PolicyOutput
	Message  string
}

type FluxOutput

type FluxOutput struct {
	Data Output
}

func (*FluxOutput) MarshalHumanReadable

func (fo *FluxOutput) MarshalHumanReadable() ([]byte, error)

func (*FluxOutput) MarshalJson

func (fo *FluxOutput) MarshalJson() ([]byte, error)

func (*FluxOutput) MarshalYaml

func (fo *FluxOutput) MarshalYaml() ([]byte, error)

func (*FluxOutput) String

func (fo *FluxOutput) String() string

type HelmOutput

type HelmOutput struct {
	Message      string
	Name         string
	LastDeployed string
	Namespace    string
	Status       string
	Revision     string
	TestSuite    string
	Notes        string
}

type HelmReleaseOutput

type HelmReleaseOutput struct {
	Name       string
	Namespace  string
	Revision   int
	Status     string
	Chart      string
	AppVersion string
}

type HelmReleaseTableOutput

type HelmReleaseTableOutput struct {
	Releases []HelmReleaseOutput
}

func (*HelmReleaseTableOutput) MarshalHumanReadable

func (hrto *HelmReleaseTableOutput) MarshalHumanReadable() ([]byte, error)

func (*HelmReleaseTableOutput) MarshalJson

func (hrto *HelmReleaseTableOutput) MarshalJson() ([]byte, error)

func (*HelmReleaseTableOutput) MarshalYaml

func (hrto *HelmReleaseTableOutput) MarshalYaml() ([]byte, error)

type HostsOutput

type HostsOutput struct {
	Hosts map[string][]string `json:"hosts" yaml:"hosts"`
}

func (*HostsOutput) MarshalHumanReadable

func (o *HostsOutput) MarshalHumanReadable() ([]byte, error)

func (*HostsOutput) MarshalJson

func (o *HostsOutput) MarshalJson() ([]byte, error)

func (*HostsOutput) MarshalYaml

func (o *HostsOutput) MarshalYaml() ([]byte, error)

type K3dOutput

type K3dOutput struct {
	Data Output
}

func (*K3dOutput) MarshalHumanReadable

func (o *K3dOutput) MarshalHumanReadable() ([]byte, error)

func (*K3dOutput) MarshalJson

func (o *K3dOutput) MarshalJson() ([]byte, error)

func (*K3dOutput) MarshalYaml

func (o *K3dOutput) MarshalYaml() ([]byte, error)

func (*K3dOutput) String

func (o *K3dOutput) String() string

type Output

type Output struct {
	GeneralInfo map[string]string `json:"general_info" yaml:"general_info"`
	Actions     []string          `json:"actions"      yaml:"actions"`
	Warnings    []string          `json:"warnings"     yaml:"warnings"`
}

type PolicyListOutput

type PolicyListOutput struct {
	Messages    []string
	CrdPolicies []CrdPolicyOutput
}

func (*PolicyListOutput) MarshalHumanReadable

func (plo *PolicyListOutput) MarshalHumanReadable() ([]byte, error)

func (*PolicyListOutput) MarshalJson

func (plo *PolicyListOutput) MarshalJson() ([]byte, error)

func (*PolicyListOutput) MarshalYaml

func (plo *PolicyListOutput) MarshalYaml() ([]byte, error)

type PolicyOutput

type PolicyOutput struct {
	Name        string
	Namespace   string
	Kind        string
	Description string
	Action      string
}

type PreflightCheckOutput

type PreflightCheckOutput struct {
	Name  string
	Steps []CheckStepOutput
}

func (*PreflightCheckOutput) MarshalHumanReadable

func (pco *PreflightCheckOutput) MarshalHumanReadable() ([]byte, error)

func (*PreflightCheckOutput) MarshalJson

func (pco *PreflightCheckOutput) MarshalJson() ([]byte, error)

func (*PreflightCheckOutput) MarshalYaml

func (pco *PreflightCheckOutput) MarshalYaml() ([]byte, error)

Outputable interface implementations

type ShellProfileOutput

type ShellProfileOutput struct {
	KubeConfig       string `json:"kubeconfig"       yaml:"kubeconfig"`
	BB_K3D_PUBLICIP  string `json:"bb_k3d_publicip"  yaml:"bb_k3d_publicip"`
	BB_K3D_PRIVATEIP string `json:"bb_k3d_privateip" yaml:"bb_k3d_privateip"`
}

func (*ShellProfileOutput) MarshalHumanReadable

func (o *ShellProfileOutput) MarshalHumanReadable() ([]byte, error)

func (*ShellProfileOutput) MarshalJson

func (o *ShellProfileOutput) MarshalJson() ([]byte, error)

func (*ShellProfileOutput) MarshalYaml

func (o *ShellProfileOutput) MarshalYaml() ([]byte, error)

type StatusOutput

type StatusOutput struct {
	Name     string
	Statuses []CheckStatusOutput
}

func (*StatusOutput) MarshalHumanReadable

func (so *StatusOutput) MarshalHumanReadable() ([]byte, error)

func (*StatusOutput) MarshalJson

func (so *StatusOutput) MarshalJson() ([]byte, error)

func (*StatusOutput) MarshalYaml

func (so *StatusOutput) MarshalYaml() ([]byte, error)

Outputable interface implementations

type Violation

type Violation struct {
	Name       string // resource name
	Kind       string // resource kind
	Namespace  string // resource namespace
	Policy     string // kyverno policy name
	Constraint string // gatekeeper constraint name
	Message    string // policy violation message
	Action     string // enforcement action
	Timestamp  string // utc time
}

func (*Violation) MarshalHumanReadable

func (v *Violation) MarshalHumanReadable() ([]byte, error)

func (*Violation) MarshalJson

func (v *Violation) MarshalJson() ([]byte, error)

func (*Violation) MarshalYaml

func (v *Violation) MarshalYaml() ([]byte, error)

func (*Violation) String

func (v *Violation) String() string

type ViolationsOutput

type ViolationsOutput struct {
	Name       string
	Violations []Violation
}

func (*ViolationsOutput) MarshalHumanReadable

func (vo *ViolationsOutput) MarshalHumanReadable() ([]byte, error)

func (*ViolationsOutput) MarshalJson

func (vo *ViolationsOutput) MarshalJson() ([]byte, error)

func (*ViolationsOutput) MarshalYaml

func (vo *ViolationsOutput) MarshalYaml() ([]byte, error)

func (*ViolationsOutput) String

func (vo *ViolationsOutput) String() string

Jump to

Keyboard shortcuts

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