gcp

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

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

View Source
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 NewGCPProvider(f *framework.Framework, credentials, projectID string,
	clusterLocation string, clusterName string, serviceAccountName string, serviceAccountNamespace string, controllerClass string) *GcpProvider

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, val string)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL