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 ¶
- Constants
- type VMInterface
- type VaultManagementService
- func (vms *VaultManagementService) Close(ctx context.Context) error
- func (vms *VaultManagementService) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
- func (vms *VaultManagementService) GetSecret(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
- func (vms *VaultManagementService) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
- func (vms *VaultManagementService) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, ...) (esv1beta1.SecretsClient, error)
- func (vms *VaultManagementService) Validate() error
- func (vms *VaultManagementService) ValidateStore(store esv1beta1.GenericStore) error
Constants ¶
View Source
const ( VaultEndpointEnv = "ORACLE_VAULT_ENDPOINT" STSEndpointEnv = "ORACLE_STS_ENDPOINT" SVMEndpointEnv = "ORACLE_SVM_ENDPOINT" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VMInterface ¶
type VMInterface interface {
GetSecretBundleByName(ctx context.Context, request secrets.GetSecretBundleByNameRequest) (secrets.GetSecretBundleByNameResponse, error)
}
type VaultManagementService ¶
type VaultManagementService struct { Client VMInterface // contains filtered or unexported fields }
func (*VaultManagementService) Close ¶
func (vms *VaultManagementService) Close(ctx context.Context) error
func (*VaultManagementService) GetAllSecrets ¶ added in v0.5.0
func (vms *VaultManagementService) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
Empty GetAllSecrets.
func (*VaultManagementService) GetSecret ¶
func (vms *VaultManagementService) GetSecret(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
func (*VaultManagementService) GetSecretMap ¶
func (vms *VaultManagementService) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
func (*VaultManagementService) NewClient ¶
func (vms *VaultManagementService) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube kclient.Client, namespace string) (esv1beta1.SecretsClient, error)
NewClient constructs a new secrets client based on the provided store.
func (*VaultManagementService) Validate ¶ added in v0.4.2
func (vms *VaultManagementService) Validate() error
func (*VaultManagementService) ValidateStore ¶ added in v0.5.0
func (vms *VaultManagementService) ValidateStore(store esv1beta1.GenericStore) error
Click to show internal directories.
Click to hide internal directories.