iam

package
v0.0.18-rc10 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package iam helps with Google Identity Access Management, aka Service Accounts and their roles bindings

Index

Constants

View Source
const Retries = 5

Retries is the max number of read-modify-write cycles in case of concurrent policy changes detection

Variables

This section is empty.

Functions

This section is empty.

Types

type Bindings

type Bindings struct {
	RolesOnServiceAccounts []string `yaml:"rolesOnServiceAccounts"`
}

Bindings structure

type BindingsDeployment

type BindingsDeployment struct {
	Artifacts struct {
		Member string
	}
	Core     *deploy.Core
	Settings struct {
		Service struct {
			IAM Bindings
		}
	}
}

BindingsDeployment struct

func NewBindingsDeployment

func NewBindingsDeployment() *BindingsDeployment

NewBindingsDeployment create deployment structure

func (*BindingsDeployment) Deploy

func (bindingsDeployment *BindingsDeployment) Deploy() (err error)

Deploy BindingsDeployment use retries on a read-modify-write cycle

type ServiceaccountDeployment

type ServiceaccountDeployment struct {
	Core *deploy.Core
}

ServiceaccountDeployment struct

func NewServiceaccountDeployment

func NewServiceaccountDeployment() *ServiceaccountDeployment

NewServiceaccountDeployment create deployment structure

func (*ServiceaccountDeployment) Deploy

func (serviceaccountDeployment *ServiceaccountDeployment) Deploy() (err error)

Deploy ServiceaccountDeployment

Jump to

Keyboard shortcuts

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