k8s

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NodepolicyprofilesResources = node_policy_api.NodepolicyprofilesResource
)

Functions

This section is empty.

Types

type Interface

type Interface struct {
	k8s_spi.Interface
}

func NewInterface

func NewInterface(mgr manager.Manager) *Interface

func (*Interface) GetProfile

func (s *Interface) GetProfile(name string) (*node_policy_api.Profile, error)

func (*Interface) ResolveProfile

func (s *Interface) ResolveProfile(namespace string, meta meta_api.ObjectMeta) (*node_policy_api.Profile, error)

type KeyValue

type KeyValue = node_policy_api.KeyValue

type Profile

type Profile = node_policy_api.Profile

type ProfileAdaptor

type ProfileAdaptor struct {
	*node_policy_api.Profile
}

func (ProfileAdaptor) GetName

func (profile ProfileAdaptor) GetName() string

func (ProfileAdaptor) GetSelector

func (profile ProfileAdaptor) GetSelector() meta_policy_api.ObjectSelector

type ProfileSupplier

type ProfileSupplier struct {
	Interface
}

func (ProfileSupplier) Get

func (supplier ProfileSupplier) Get(name string) (k8s_spi.ProfileGetter, error)

func (ProfileSupplier) Key

func (ProfileSupplier) Key() string

type Spec

type Status

Jump to

Keyboard shortcuts

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