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 handles the List event from the Cloudformation service. NO-OP

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 Model

type Model struct {
	ProjectId  *encoding.String      `json:"ProjectId,omitempty"`
	Id         *encoding.String      `json:"Id,omitempty"`
	Whitelist  []WhitelistDefinition `json:"Whitelist,omitempty"`
	ApiKeys    ApiKeyDefinition      `json:"ApiKeys,omitempty"`
	TotalCount *encoding.Int         `json:"TotalCount,omitempty"`
}

Model is autogenerated from the json schema

type WhitelistDefinition

type WhitelistDefinition struct {
	Comment          *encoding.String
	IpAddress        *encoding.String
	CidrBlock        *encoding.String
	AwsSecurityGroup *encoding.String
	ProjectId        *encoding.String
}

WhitelistDefinition is autogenerated from the json schema

Jump to

Keyboard shortcuts

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