k8s

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: Apache-2.0 Imports: 13 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(client dynamic.Interface) (*Interface, error)

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 *meta_api.ObjectMeta, resource *meta_api.ObjectMeta) (*gcpauth_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 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