manage

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisablePublic

func DisablePublic(ctx context.Context, params DisablePublicParams) error

func EnablePrivate

func EnablePrivate(ctx context.Context, params EnablePrivateParams) error

func EnablePublic

func EnablePublic(ctx context.Context, params EnablePublicParams) error

Types

type DisablePublicParams

type DisablePublicParams struct {
	WorkspaceID string
	BranchID    string
	EndpointID  string
}

type DisablePublicResult

type DisablePublicResult struct {
	WorkspaceID string `json:"WorkspaceId" toml:"workspace_id" yaml:"workspace_id"`
	BranchID    string `json:"BranchId" toml:"branch_id" yaml:"branch_id"`
	Mode        string `json:"Mode" toml:"mode" yaml:"mode"`
	EndpointID  string `json:"EndpointId,omitempty" toml:"endpoint_id,omitempty" yaml:"endpoint_id,omitempty"`
}

type EnablePrivateParams

type EnablePrivateParams struct {
	WorkspaceID      string
	BranchID         string
	VPCID            string
	SubnetID         string
	InternetProtocol string
}

type EnablePrivateResult

type EnablePrivateResult struct {
	WorkspaceID      string `json:"WorkspaceId" toml:"workspace_id" yaml:"workspace_id"`
	BranchID         string `json:"BranchId" toml:"branch_id" yaml:"branch_id"`
	VPCID            string `json:"VpcId" toml:"vpc_id" yaml:"vpc_id"`
	SubnetID         string `json:"SubnetId" toml:"subnet_id" yaml:"subnet_id"`
	InternetProtocol string `json:"InternetProtocol" toml:"internet_protocol" yaml:"internet_protocol"`
}

type EnablePublicParams

type EnablePublicParams struct {
	WorkspaceID string
	BranchID    string
	EndpointID  string
	EIPID       string
}

type EnablePublicResult

type EnablePublicResult struct {
	WorkspaceID string `json:"WorkspaceId" toml:"workspace_id" yaml:"workspace_id"`
	BranchID    string `json:"BranchId" toml:"branch_id" yaml:"branch_id"`
	Mode        string `json:"Mode" toml:"mode" yaml:"mode"`
	EndpointID  string `json:"EndpointId,omitempty" toml:"endpoint_id,omitempty" yaml:"endpoint_id,omitempty"`
	EIPID       string `json:"EipId,omitempty" toml:"eip_id,omitempty" yaml:"eip_id,omitempty"`
}

Jump to

Keyboard shortcuts

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