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) GetSecret(ctx context.Context, ref esv1alpha1.ExternalSecretDataRemoteRef) ([]byte, error)
- func (vms *VaultManagementService) GetSecretMap(ctx context.Context, ref esv1alpha1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
- func (vms *VaultManagementService) NewClient(ctx context.Context, store esv1alpha1.GenericStore, kube kclient.Client, ...) (provider.SecretsClient, 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) GetSecret ¶
func (vms *VaultManagementService) GetSecret(ctx context.Context, ref esv1alpha1.ExternalSecretDataRemoteRef) ([]byte, error)
func (*VaultManagementService) GetSecretMap ¶
func (vms *VaultManagementService) GetSecretMap(ctx context.Context, ref esv1alpha1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
func (*VaultManagementService) NewClient ¶
func (vms *VaultManagementService) NewClient(ctx context.Context, store esv1alpha1.GenericStore, kube kclient.Client, namespace string) (provider.SecretsClient, error)
NewClient constructs a new secrets client based on the provided store.
Click to show internal directories.
Click to hide internal directories.