alias

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias

type Alias struct {
	CreatedAt           int64  `json:"createdAt"`
	Domain              string `json:"domain"`
	Target              string `json:"target"`
	ConfiguredBy        string `json:"configuredBy"`
	ConfiguredChangedAt int64  `json:"configuredChangedAt"`
}

type CreateOrUpdateAlias

type CreateOrUpdateAlias struct {
	Domain   string `json:"domain"`
	Redirect string `json:"redirect"`
}

type Handler

type Handler struct {
	Api httpApi.API
}

func (*Handler) Create

func (h *Handler) Create(projectId string, alias CreateOrUpdateAlias, teamId string) error

func (*Handler) Delete

func (h *Handler) Delete(projectId, envKey string, teamId string) error

func (*Handler) Update

func (h *Handler) Update(projectId string, alias CreateOrUpdateAlias, teamId string) error

Jump to

Keyboard shortcuts

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