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. limitations under the License.
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. limitations under the License.
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. limitations under the License.
Index ¶
- Constants
- type GcpProvider
- func (s *GcpProvider) CreatePodIDStore(ns string)
- func (s *GcpProvider) CreateSAKeyStore(ns string)
- func (s *GcpProvider) CreateSecret(key string, val framework.SecretEntry)
- func (s *GcpProvider) CreateSpecifcSASecretStore(ns string)
- func (s *GcpProvider) DeleteSecret(key string)
- func (s *GcpProvider) DeleteSpecifcSASecretStore()
- func (s *GcpProvider) SAClusterSecretStoreName() string
Constants ¶
const (
PodIDSecretStoreName = "pod-identity"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GcpProvider ¶
type GcpProvider struct { ServiceAccountName string ServiceAccountNamespace string // contains filtered or unexported fields }
nolint // Better to keep names consistent even if it stutters;
func NewFromEnv ¶
func NewFromEnv(f *framework.Framework, controllerClass string) *GcpProvider
func NewGCPProvider ¶
func (*GcpProvider) CreatePodIDStore ¶
func (s *GcpProvider) CreatePodIDStore(ns string)
func (*GcpProvider) CreateSAKeyStore ¶
func (s *GcpProvider) CreateSAKeyStore(ns string)
func (*GcpProvider) CreateSecret ¶
func (s *GcpProvider) CreateSecret(key string, val framework.SecretEntry)
func (*GcpProvider) CreateSpecifcSASecretStore ¶
func (s *GcpProvider) CreateSpecifcSASecretStore(ns string)
func (*GcpProvider) DeleteSecret ¶
func (s *GcpProvider) DeleteSecret(key string)
func (*GcpProvider) DeleteSpecifcSASecretStore ¶
func (s *GcpProvider) DeleteSpecifcSASecretStore()
Cleanup removes global resources that may have been created by this provider.
func (*GcpProvider) SAClusterSecretStoreName ¶
func (s *GcpProvider) SAClusterSecretStoreName() string