k8s

package
v0.0.0-...-e717c8f Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewK8sCmd

func NewK8sCmd() *cobra.Command

this function registers all the commands available at "wizardry k8s" level

func RBACCompose

func RBACCompose() error

Types

type ClusterRole

type ClusterRole struct {
	Kind       string     `yaml:"kind"`
	APIVersion string     `yaml:"apiVersion"`
	Metadata   Metadata   `yaml:"metadata"`
	Rules      []RoleRule `yaml:"rules"`
}

type K8sCmd

type K8sCmd struct {
	// contains filtered or unexported fields
}

type Metadata

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

type Result

type Result struct {
	// contains filtered or unexported fields
}

type RoleRule

type RoleRule struct {
	APIGroups []string `yaml:"apiGroups"`
	Resources []string `yaml:"resources"`
	Verbs     []string `yaml:"verbs"`
}

type WorkloadSpread

type WorkloadSpread struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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