ikegateways

package
v0.0.0-...-787f374 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is the client for this namespace.

func NewClient

func NewClient(client api.Client) *Client

NewClient returns a new client for this namespace.

func (*Client) Create

func (c *Client) Create(ctx context.Context, input CreateInput) (zAHtTyI.Config, error)

Create creates the specified object.

Method: post URI: /sse/config/v1/ike-gateways

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, input DeleteInput) (zAHtTyI.Config, error)

Delete removes the specified configuration.

Method: delete URI: /sse/config/v1/ike-gateways/{id}

func (*Client) List

func (c *Client) List(ctx context.Context, input ListInput) (ListOutput, error)

List gets a list of objects back.

Method: get URI: /sse/config/v1/ike-gateways

func (*Client) Read

func (c *Client) Read(ctx context.Context, input ReadInput) (zAHtTyI.Config, error)

Read returns the configuration of the specified object.

Method: get URI: /sse/config/v1/ike-gateways/{id}

func (*Client) Update

func (c *Client) Update(ctx context.Context, input UpdateInput) (zAHtTyI.Config, error)

Update modifies the configuration of the given object.

Method: put URI: /sse/config/v1/ike-gateways/{id}

type CreateInput

type CreateInput struct {
	Folder string
	Config zAHtTyI.Config
}

CreateInput takes some input. name:"Create" nsfName:"Create" param:0 query:1 path: query: Folder

type DeleteInput

type DeleteInput struct {
	ObjectId string
}

DeleteInput takes some input. name:"Delete" nsfName:"Delete" param:1 query:0 path: ObjectId query:

type ListInput

type ListInput struct {
	Limit  *int64
	Offset *int64
	Name   *string
	Folder string
}

ListInput takes some input. name:"List" nsfName:"List" param:0 query:4 path: query: Limit | Offset | Name | Folder

type ListOutput

type ListOutput struct {
	Data   []zAHtTyI.Config `json:"data,omitempty"`
	Limit  int64            `json:"limit,omitempty"`
	Offset int64            `json:"offset,omitempty"`
	Total  int64            `json:"total,omitempty"`
}

ListOutput ""

Parent chains: * "_output"

Args:

Param Data (unordered, list of Config objects): The Data param.

Param Limit (int64): The Limit param. Default: 200

Param Offset (int64): The Offset param. Default: 0

Param Total (int64): The Total param.

type ReadInput

type ReadInput struct {
	ObjectId string
	Folder   string
}

ReadInput takes some input. name:"Read" nsfName:"Read" param:1 query:1 path: ObjectId query: Folder

type UpdateInput

type UpdateInput struct {
	ObjectId string
	Config   zAHtTyI.Config
}

UpdateInput takes some input. name:"Update" nsfName:"Update" param:1 query:0 path: ObjectId query:

Jump to

Keyboard shortcuts

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