Documentation ¶
Index ¶
- Constants
- Variables
- type Interface
- func (i *Interface) CreateImagePullSecret(profile *Profile, datasource *core_api.Secret) (*core_api.Secret, error)
- func (i *Interface) CreateSecret(secret *core_api.Secret) (*core_api.Secret, error)
- func (i *Interface) DeleteImagePullSecret(name string) error
- func (i *Interface) DeleteSecret(secret *core_api.Secret) error
- func (i *Interface) EnsureNamespaceImagePullSecret(profile *Profile, namespace string) error
- func (i *Interface) GetDatasourceSecret(profile *Profile) (*core_api.Secret, error)
- func (i *Interface) GetImagePullSecret(profile *Profile) (*core_api.Secret, error)
- func (s *Interface) GetProfile(name string) (*Profile, error)
- func (i *Interface) GetSecret(secret *core_api.Secret) (*core_api.Secret, error)
- func (s *Interface) ResolveProfile(namespace string, meta meta_api.ObjectMeta) (*gcpauth_policy_api.Profile, error)
- func (i *Interface) UpdateImagePullSecret(profile *Profile) error
- func (i *Interface) UpdateSecret(secret *core_api.Secret) (*core_api.Secret, error)
- type KeyValue
- type Profile
- type ProfileAdaptor
- type ProfileSupplier
- type Spec
- type Status
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 ¶
func NewInterface ¶
func (*Interface) CreateImagePullSecret ¶
func (*Interface) CreateSecret ¶
func (*Interface) DeleteImagePullSecret ¶
func (*Interface) EnsureNamespaceImagePullSecret ¶
func (*Interface) GetDatasourceSecret ¶
func (*Interface) GetImagePullSecret ¶
func (*Interface) ResolveProfile ¶
func (s *Interface) ResolveProfile(namespace string, meta meta_api.ObjectMeta) (*gcpauth_policy_api.Profile, error)
func (*Interface) UpdateImagePullSecret ¶
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
Click to show internal directories.
Click to hide internal directories.