leftovers: github.com/genevievelesperance/leftovers/aws/iam Index | Files | Directories

package iam

import "github.com/genevievelesperance/leftovers/aws/iam"

Index

Package Files

access_keys.go instance_profile.go instance_profiles.go logger.go policies.go policy.go role.go role_policies.go roles.go server_certificate.go server_certificates.go user.go user_policies.go users.go

type AccessKeys Uses

type AccessKeys struct {
    // contains filtered or unexported fields
}

func NewAccessKeys Uses

func NewAccessKeys(client accessKeysClient, logger logger) AccessKeys

func (AccessKeys) Delete Uses

func (k AccessKeys) Delete(userName string) error

type InstanceProfile Uses

type InstanceProfile struct {
    // contains filtered or unexported fields
}

func NewInstanceProfile Uses

func NewInstanceProfile(client instanceProfilesClient, name *string, roles []*awsiam.Role, logger logger) InstanceProfile

func (InstanceProfile) Delete Uses

func (i InstanceProfile) Delete() error

func (InstanceProfile) Name Uses

func (i InstanceProfile) Name() string

func (InstanceProfile) Type Uses

func (i InstanceProfile) Type() string

type InstanceProfiles Uses

type InstanceProfiles struct {
    // contains filtered or unexported fields
}

func NewInstanceProfiles Uses

func NewInstanceProfiles(client instanceProfilesClient, logger logger) InstanceProfiles

func (InstanceProfiles) List Uses

func (i InstanceProfiles) List(filter string) ([]common.Deletable, error)

func (InstanceProfiles) Type Uses

func (i InstanceProfiles) Type() string

type Policies Uses

type Policies struct {
    // contains filtered or unexported fields
}

func NewPolicies Uses

func NewPolicies(client policiesClient, logger logger) Policies

func (Policies) List Uses

func (p Policies) List(filter string) ([]common.Deletable, error)

func (Policies) Type Uses

func (p Policies) Type() string

type Policy Uses

type Policy struct {
    // contains filtered or unexported fields
}

func NewPolicy Uses

func NewPolicy(client policiesClient, logger logger, name, arn *string) Policy

func (Policy) Delete Uses

func (p Policy) Delete() error

func (Policy) Name Uses

func (p Policy) Name() string

func (Policy) Type Uses

func (p Policy) Type() string

type Role Uses

type Role struct {
    // contains filtered or unexported fields
}

func NewRole Uses

func NewRole(client rolesClient, policies rolePolicies, name *string) Role

func (Role) Delete Uses

func (r Role) Delete() error

func (Role) Name Uses

func (r Role) Name() string

func (Role) Type Uses

func (r Role) Type() string

type RolePolicies Uses

type RolePolicies struct {
    // contains filtered or unexported fields
}

func NewRolePolicies Uses

func NewRolePolicies(client rolePoliciesClient, logger logger) RolePolicies

func (RolePolicies) Delete Uses

func (o RolePolicies) Delete(roleName string) error

type Roles Uses

type Roles struct {
    // contains filtered or unexported fields
}

func NewRoles Uses

func NewRoles(client rolesClient, logger logger, policies rolePolicies) Roles

func (Roles) List Uses

func (o Roles) List(filter string) ([]common.Deletable, error)

func (Roles) Type Uses

func (o Roles) Type() string

type ServerCertificate Uses

type ServerCertificate struct {
    // contains filtered or unexported fields
}

func NewServerCertificate Uses

func NewServerCertificate(client serverCertificatesClient, name *string) ServerCertificate

func (ServerCertificate) Delete Uses

func (s ServerCertificate) Delete() error

func (ServerCertificate) Name Uses

func (s ServerCertificate) Name() string

func (ServerCertificate) Type Uses

func (s ServerCertificate) Type() string

type ServerCertificates Uses

type ServerCertificates struct {
    // contains filtered or unexported fields
}

func NewServerCertificates Uses

func NewServerCertificates(client serverCertificatesClient, logger logger) ServerCertificates

func (ServerCertificates) List Uses

func (s ServerCertificates) List(filter string) ([]common.Deletable, error)

func (ServerCertificates) Type Uses

func (s ServerCertificates) Type() string

type User Uses

type User struct {
    // contains filtered or unexported fields
}

func NewUser Uses

func NewUser(client usersClient, policies userPolicies, accessKeys accessKeys, name *string) User

func (User) Delete Uses

func (u User) Delete() error

func (User) Name Uses

func (u User) Name() string

func (User) Type Uses

func (u User) Type() string

type UserPolicies Uses

type UserPolicies struct {
    // contains filtered or unexported fields
}

func NewUserPolicies Uses

func NewUserPolicies(client userPoliciesClient, logger logger) UserPolicies

func (UserPolicies) Delete Uses

func (o UserPolicies) Delete(userName string) error

type Users Uses

type Users struct {
    // contains filtered or unexported fields
}

func NewUsers Uses

func NewUsers(client usersClient, logger logger, policies userPolicies, accessKeys accessKeys) Users

func (Users) List Uses

func (u Users) List(filter string) ([]common.Deletable, error)

func (Users) Type Uses

func (u Users) Type() string

Directories

PathSynopsis
fakes

Package iam imports 7 packages (graph). Updated 2019-11-12. Refresh now. Tools for package owners.