k8s

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProfileKey = gcpworkload_api.ProfilesKey
)

Variables

View Source
var (
	IAMPolicyMembersResource = cnrm_iam_api.SchemeGroupVersion.WithResource("iampolicymembers")
	ProfilesResource         = gcpworkload_api.ProfilesResource
)

Functions

This section is empty.

Types

type Interface

type Interface struct {
	k8s_spi.Interface
}

func NewInterface

func NewInterface(mgr manager.Manager) (*Interface, error)

func (*Interface) CreateIAMPolicyMember

func (s *Interface) CreateIAMPolicyMember(profile *Profile, sa *core_api.ServiceAccount) error

func (*Interface) DeleteIAMPolicyMember

func (s *Interface) DeleteIAMPolicyMember(profile *Profile, sa *core_api.ServiceAccount) error

func (*Interface) GetProfile

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

func (*Interface) ResolveProfile

func (s *Interface) ResolveProfile(meta meta_api.ObjectMeta) (*gcpworkload_policy_api.Profile, error)

type KeyValue

type KeyValue = gcpworkload_api.KeyValue

type Profile

type Profile = gcpworkload_api.Profile

type ProfileAdaptor

type ProfileAdaptor struct {
	*gcpworkload_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

type TypeValue

type TypeValue = gcpworkload_api.TypeValue

Jump to

Keyboard shortcuts

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