Documentation ¶
Overview ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type BaseClient
- type KClient
- type ProviderKubernetes
- func (p *ProviderKubernetes) Close(ctx context.Context) error
- func (p *ProviderKubernetes) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
- func (p *ProviderKubernetes) GetSecret(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
- func (p *ProviderKubernetes) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
- func (p *ProviderKubernetes) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, ...) (esv1beta1.SecretsClient, error)
- func (p *ProviderKubernetes) Validate() (esv1beta1.ValidationResult, error)
- func (p *ProviderKubernetes) ValidateStore(store esv1beta1.GenericStore) error
- type RClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseClient ¶
type KClient ¶
type KClient interface { Get(ctx context.Context, name string, opts metav1.GetOptions) (*corev1.Secret, error) List(ctx context.Context, opts metav1.ListOptions) (*corev1.SecretList, error) }
type ProviderKubernetes ¶
type ProviderKubernetes struct { Client KClient ReviewClient RClient Namespace string // contains filtered or unexported fields }
ProviderKubernetes is a provider for Kubernetes.
func (*ProviderKubernetes) GetAllSecrets ¶
func (p *ProviderKubernetes) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
func (*ProviderKubernetes) GetSecret ¶
func (p *ProviderKubernetes) GetSecret(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
func (*ProviderKubernetes) GetSecretMap ¶
func (p *ProviderKubernetes) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
func (*ProviderKubernetes) NewClient ¶
func (p *ProviderKubernetes) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, namespace string) (esv1beta1.SecretsClient, error)
NewClient constructs a Kubernetes Provider.
func (*ProviderKubernetes) Validate ¶
func (p *ProviderKubernetes) Validate() (esv1beta1.ValidationResult, error)
func (*ProviderKubernetes) ValidateStore ¶
func (p *ProviderKubernetes) ValidateStore(store esv1beta1.GenericStore) error
type RClient ¶
type RClient interface {
Create(ctx context.Context, selfSubjectRulesReview *authv1.SelfSubjectRulesReview, opts metav1.CreateOptions) (*authv1.SelfSubjectRulesReview, error)
}
Click to show internal directories.
Click to hide internal directories.