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: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProfileKey = gcpauth_api.ProfilesKey
)

Variables

View Source
var (
	ProfilesResource = gcpauth_api.ProfilesResource
	SecretsResource  = core_api.SchemeGroupVersion.WithResource("secrets")
)

Functions

This section is empty.

Types

type Interface

type Interface struct {
	k8s_spi.Interface
}

func NewInterface

func NewInterface(mgr manager.Manager) *Interface

func (*Interface) CreateImagePullSecret

func (i *Interface) CreateImagePullSecret(profile *Profile, datasource *core_api.Secret) (*core_api.Secret, error)

func (*Interface) CreateSecret

func (i *Interface) CreateSecret(secret *core_api.Secret) (*core_api.Secret, error)

func (*Interface) DeleteImagePullSecret

func (i *Interface) DeleteImagePullSecret(name string) error

func (*Interface) DeleteSecret

func (i *Interface) DeleteSecret(secret *core_api.Secret) error

func (*Interface) EnsureNamespaceImagePullSecret

func (i *Interface) EnsureNamespaceImagePullSecret(profile *Profile, namespace string) error

func (*Interface) GetDatasourceSecret

func (i *Interface) GetDatasourceSecret(profile *Profile) (*core_api.Secret, error)

func (*Interface) GetImagePullSecret

func (i *Interface) GetImagePullSecret(profile *Profile) (*core_api.Secret, error)

func (*Interface) GetProfile

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

func (*Interface) GetSecret

func (i *Interface) GetSecret(secret *core_api.Secret) (*core_api.Secret, error)

func (*Interface) ResolveProfile

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

func (*Interface) UpdateImagePullSecret

func (i *Interface) UpdateImagePullSecret(profile *Profile) error

func (*Interface) UpdateSecret

func (i *Interface) UpdateSecret(secret *core_api.Secret) (*core_api.Secret, error)

type KeyValue

type KeyValue = gcpauth_api.KeyValue

type Profile

type Profile = gcpauth_api.Profile

type ProfileAdaptor

type ProfileAdaptor struct {
	*gcpauth_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 Spec = gcpauth_api.ProfileSpec

type Status

type Status = gcpauth_api.ProfileStatus

Jump to

Keyboard shortcuts

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