gsuite

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigerNewer

type ConfigerNewer struct{}

ConfigerNewer implements the factory methods for the rackspace_email_api provider.

func (*ConfigerNewer) Config

func (cn *ConfigerNewer) Config() error

Config takes input from the user to configure the gsuite provider.

func (*ConfigerNewer) New

func (cn *ConfigerNewer) New() (email.Provider, error)

New returns a usable instance of the rackspace_email_api provider.

type Emailer

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

Emailer implements the email provder methods for the rackspace_email_api.

func (*Emailer) AliasCreate

func (g *Emailer) AliasCreate(alias, domain string, users ...string) error

AliasCreate creates an email alias for a G Suite user. If there is a problem creating the email alias, an error is returned.

func (*Emailer) AliasDelete

func (g *Emailer) AliasDelete(alias, domain string, users ...string) error

AliasDelete deletes an email alias from a G Suite user. If there is a problem deleting the email alias, an error is returned.

func (*Emailer) AliasList

func (g *Emailer) AliasList(domain string, users ...string) (alias.Aliases, error)

AliasList reads all of the aliases for a G Suite user.

func (*Emailer) Description

func (g *Emailer) Description() string

Description returns the description of the provider this package implements

func (*Emailer) Type

func (g *Emailer) Type() string

Type returns the type of provider this package implements

Notes

Bugs

  • need a different context type?

Jump to

Keyboard shortcuts

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