add

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InsertIAMGroup added in v0.2.0

func InsertIAMGroup(iamgroup, kubegroups string)

InsertIAMGroup adds the users in the IAM group to the EKS in the specified group

func InsertUser

func InsertUser(userName, iamgroup, kubegroups string)

InsertUser adds the user to the EKS. It makes an entry of the user to aws-

func UpdateIAMGroup added in v0.2.0

func UpdateIAMGroup(iamgroup, kubegroups string)

UpdateIAMGroup updates (updates/deletes) users of an IAM group

Types

type IamUser added in v0.2.0

type IamUser struct {
	Arn              string `json:"arn"`
	CreateDate       string `json:"createddate"`
	PasswordLastUsed string `json:"passwordlastused"`
	Path             string `json:"path"`
	UserID           string `json:"userid"`
	UserName         string `json:"username"`
}

IamUser is the format of the user return by GetGroups

Jump to

Keyboard shortcuts

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