resource

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Create handles the Create event from the Cloudformation service.

func Delete

func Delete(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Delete handles the Delete event from the Cloudformation service.

func List

func List(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

List NOOP

func Read

func Read(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Read handles the Read event from the Cloudformation service.

func Update

func Update(req handler.Request, prevModel *Model, currentModel *Model) (handler.ProgressEvent, error)

Update handles the Update event from the Cloudformation service.

Types

type ApiKeyDefinition

type ApiKeyDefinition struct {
	PublicKey  *encoding.String
	PrivateKey *encoding.String
}

ApiKeyDefinition is autogenerated from the json schema

type LabelDefinition

type LabelDefinition struct {
	Key   *encoding.String
	Value *encoding.String
}

LabelDefinition is autogenerated from the json schema

type Model

type Model struct {
	DatabaseName *encoding.String  `json:"DatabaseName,omitempty"`
	Labels       []LabelDefinition `json:"Labels,omitempty"`
	LdapAuthType *encoding.String  `json:"LdapAuthType,omitempty"`
	ProjectId    *encoding.String  `json:"ProjectId,omitempty"`
	Roles        []RoleDefinition  `json:"Roles,omitempty"`
	Password     *encoding.String  `json:"Password,omitempty"`
	Username     *encoding.String  `json:"Username,omitempty"`
	ApiKeys      ApiKeyDefinition  `json:"ApiKeys,omitempty"`
}

Model is autogenerated from the json schema

type RoleDefinition

type RoleDefinition struct {
	CollectionName *encoding.String
	DatabaseName   *encoding.String
	RoleName       *encoding.String
}

RoleDefinition is autogenerated from the json schema

Jump to

Keyboard shortcuts

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