inapi

package
v2.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AuthPermSysAll = hauth2.NewScopeFilter("sys", "*")
)
View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_gateway_proto protoreflect.FileDescriptor

Functions

func NsGlobalGatewayServiceDomain

func NsGlobalGatewayServiceDomain(name string) []byte

func NsZoneSysAccessKey

func NsZoneSysAccessKey(zone, kid string) []byte

Types

type Common_Meta

type Common_Meta struct {

	// ID is the unique in time and space value for this object. It is typically
	// generated by the server on successful creation of a resource and is not
	// allowed to change on PUT operations.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" yaml:"id,omitempty"`
	// Name is unique within a namespace.  Name is required when creating
	// resources, although some resources may allow a client to request the
	// generation of an appropriate name automatically. Name is primarily intended
	// for creation idempotence and configuration definition.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" yaml:"name,omitempty"`
	// User defines the username or userid.
	User string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty" toml:"user,omitempty" yaml:"user,omitempty"`
	// An opaque value that represents the version of this resource. May be used
	// for optimistic concurrency, change detection, and the watch operation on a
	// resource or set of resources. Clients must treat these values as opaque and
	// values may only be valid for a particular resource or set of resources.
	// Only servers will generate resource versions.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" yaml:"version,omitempty"`
	// Human readable title of this object.
	Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty" toml:"title,omitempty" yaml:"title,omitempty"`
	// Human readable subtitle of this object.
	Subtitle string `protobuf:"bytes,6,opt,name=subtitle,proto3" json:"subtitle,omitempty" toml:"subtitle,omitempty" yaml:"subtitle,omitempty"`
	// Created or Updated is a timestamp representing the server time when this
	// object was created or updated. It is not guaranteed to be set in
	// happens-before order across separate operations. Clients may not set this
	// value. It is represented in RFC3339 form and is in UTC.
	Created int64 `protobuf:"varint,14,opt,name=created,proto3" json:"created,omitempty" toml:"created,omitempty" yaml:"created,omitempty"`
	Updated int64 `protobuf:"varint,15,opt,name=updated,proto3" json:"updated,omitempty" toml:"updated,omitempty" yaml:"updated,omitempty"`
	// contains filtered or unexported fields
}

Common_Meta is metadata that all persisted resources must have, which includes all objects users must create. A resource may have only one of {Common_Meta, ListMeta}.

func (*Common_Meta) Descriptor deprecated

func (*Common_Meta) Descriptor() ([]byte, []int)

Deprecated: Use Common_Meta.ProtoReflect.Descriptor instead.

func (*Common_Meta) GetCreated

func (x *Common_Meta) GetCreated() int64

func (*Common_Meta) GetId

func (x *Common_Meta) GetId() string

func (*Common_Meta) GetName

func (x *Common_Meta) GetName() string

func (*Common_Meta) GetSubtitle

func (x *Common_Meta) GetSubtitle() string

func (*Common_Meta) GetTitle

func (x *Common_Meta) GetTitle() string

func (*Common_Meta) GetUpdated

func (x *Common_Meta) GetUpdated() int64

func (*Common_Meta) GetUser

func (x *Common_Meta) GetUser() string

func (*Common_Meta) GetVersion

func (x *Common_Meta) GetVersion() string

func (*Common_Meta) ProtoMessage

func (*Common_Meta) ProtoMessage()

func (*Common_Meta) ProtoReflect

func (x *Common_Meta) ProtoReflect() protoreflect.Message

func (*Common_Meta) Reset

func (x *Common_Meta) Reset()

func (*Common_Meta) String

func (x *Common_Meta) String() string

type Common_Option

type Common_Option struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" yaml:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty" toml:"value,omitempty" yaml:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Common_Option) Descriptor deprecated

func (*Common_Option) Descriptor() ([]byte, []int)

Deprecated: Use Common_Option.ProtoReflect.Descriptor instead.

func (*Common_Option) GetName

func (x *Common_Option) GetName() string

func (*Common_Option) GetValue

func (x *Common_Option) GetValue() string

func (*Common_Option) ProtoMessage

func (*Common_Option) ProtoMessage()

func (*Common_Option) ProtoReflect

func (x *Common_Option) ProtoReflect() protoreflect.Message

func (*Common_Option) Reset

func (x *Common_Option) Reset()

func (*Common_Option) String

func (x *Common_Option) String() string

type GatewayService_Domain

type GatewayService_Domain struct {
	Meta        *Common_Meta                   `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty" toml:"meta,omitempty" yaml:"meta,omitempty"`
	Description string                         `` /* 133-byte string literal not displayed */
	ZoneId      string                         `` /* 129-byte string literal not displayed */
	Action      string                         `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" yaml:"action,omitempty"`
	Routes      []*GatewayService_Domain_Route `protobuf:"bytes,9,rep,name=routes,proto3" json:"routes,omitempty" toml:"routes,omitempty" yaml:"routes,omitempty"`
	Options     []*Common_Option               `protobuf:"bytes,10,rep,name=options,proto3" json:"options,omitempty" toml:"options,omitempty" yaml:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayService_Domain) Descriptor deprecated

func (*GatewayService_Domain) Descriptor() ([]byte, []int)

Deprecated: Use GatewayService_Domain.ProtoReflect.Descriptor instead.

func (*GatewayService_Domain) GetAction

func (x *GatewayService_Domain) GetAction() string

func (*GatewayService_Domain) GetDescription

func (x *GatewayService_Domain) GetDescription() string

func (*GatewayService_Domain) GetMeta

func (x *GatewayService_Domain) GetMeta() *Common_Meta

func (*GatewayService_Domain) GetOptions

func (x *GatewayService_Domain) GetOptions() []*Common_Option

func (*GatewayService_Domain) GetRoutes

func (*GatewayService_Domain) GetZoneId

func (x *GatewayService_Domain) GetZoneId() string

func (*GatewayService_Domain) ProtoMessage

func (*GatewayService_Domain) ProtoMessage()

func (*GatewayService_Domain) ProtoReflect

func (x *GatewayService_Domain) ProtoReflect() protoreflect.Message

func (*GatewayService_Domain) Reset

func (x *GatewayService_Domain) Reset()

func (*GatewayService_Domain) String

func (x *GatewayService_Domain) String() string

type GatewayService_DomainDeploy

type GatewayService_DomainDeploy struct {
	Id                string                               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" toml:"id,omitempty" yaml:"id,omitempty"`
	Name              string                               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" yaml:"name,omitempty"`
	LetsencryptEnable bool                                 `` /* 185-byte string literal not displayed */
	Routes            []*GatewayService_DomainDeploy_Route `protobuf:"bytes,9,rep,name=routes,proto3" json:"routes,omitempty" toml:"routes,omitempty" yaml:"routes,omitempty"`
	Version           uint64                               `protobuf:"varint,15,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" yaml:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayService_DomainDeploy) Descriptor deprecated

func (*GatewayService_DomainDeploy) Descriptor() ([]byte, []int)

Deprecated: Use GatewayService_DomainDeploy.ProtoReflect.Descriptor instead.

func (*GatewayService_DomainDeploy) GetId

func (*GatewayService_DomainDeploy) GetLetsencryptEnable

func (x *GatewayService_DomainDeploy) GetLetsencryptEnable() bool

func (*GatewayService_DomainDeploy) GetName

func (x *GatewayService_DomainDeploy) GetName() string

func (*GatewayService_DomainDeploy) GetRoutes

func (*GatewayService_DomainDeploy) GetVersion

func (x *GatewayService_DomainDeploy) GetVersion() uint64

func (*GatewayService_DomainDeploy) ProtoMessage

func (*GatewayService_DomainDeploy) ProtoMessage()

func (*GatewayService_DomainDeploy) ProtoReflect

func (*GatewayService_DomainDeploy) Reset

func (x *GatewayService_DomainDeploy) Reset()

func (*GatewayService_DomainDeploy) String

func (x *GatewayService_DomainDeploy) String() string

type GatewayService_DomainDeployListRequest

type GatewayService_DomainDeployListRequest struct {
	ZoneId  string `` /* 129-byte string literal not displayed */
	Version uint64 `protobuf:"varint,15,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" yaml:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayService_DomainDeployListRequest) Descriptor deprecated

func (*GatewayService_DomainDeployListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GatewayService_DomainDeployListRequest.ProtoReflect.Descriptor instead.

func (*GatewayService_DomainDeployListRequest) GetVersion

func (*GatewayService_DomainDeployListRequest) GetZoneId

func (*GatewayService_DomainDeployListRequest) ProtoMessage

func (*GatewayService_DomainDeployListRequest) ProtoReflect

func (*GatewayService_DomainDeployListRequest) Reset

func (*GatewayService_DomainDeployListRequest) String

type GatewayService_DomainDeployListResponse

type GatewayService_DomainDeployListResponse struct {
	Domains []*GatewayService_DomainDeploy `protobuf:"bytes,9,rep,name=domains,proto3" json:"domains,omitempty" toml:"domains,omitempty" yaml:"domains,omitempty"`
	Version uint64                         `protobuf:"varint,15,opt,name=version,proto3" json:"version,omitempty" toml:"version,omitempty" yaml:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayService_DomainDeployListResponse) Descriptor deprecated

func (*GatewayService_DomainDeployListResponse) Descriptor() ([]byte, []int)

Deprecated: Use GatewayService_DomainDeployListResponse.ProtoReflect.Descriptor instead.

func (*GatewayService_DomainDeployListResponse) GetDomains

func (*GatewayService_DomainDeployListResponse) GetVersion

func (*GatewayService_DomainDeployListResponse) ProtoMessage

func (*GatewayService_DomainDeployListResponse) ProtoReflect

func (*GatewayService_DomainDeployListResponse) Reset

func (*GatewayService_DomainDeployListResponse) String

type GatewayService_DomainDeploy_Route

type GatewayService_DomainDeploy_Route struct {
	Path    string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" yaml:"path,omitempty"`
	Type    string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" yaml:"type,omitempty"`
	Targets []string `protobuf:"bytes,9,rep,name=targets,proto3" json:"targets,omitempty" toml:"targets,omitempty" yaml:"targets,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayService_DomainDeploy_Route) Descriptor deprecated

func (*GatewayService_DomainDeploy_Route) Descriptor() ([]byte, []int)

Deprecated: Use GatewayService_DomainDeploy_Route.ProtoReflect.Descriptor instead.

func (*GatewayService_DomainDeploy_Route) GetPath

func (*GatewayService_DomainDeploy_Route) GetTargets

func (x *GatewayService_DomainDeploy_Route) GetTargets() []string

func (*GatewayService_DomainDeploy_Route) GetType

func (*GatewayService_DomainDeploy_Route) ProtoMessage

func (*GatewayService_DomainDeploy_Route) ProtoMessage()

func (*GatewayService_DomainDeploy_Route) ProtoReflect

func (*GatewayService_DomainDeploy_Route) Reset

func (*GatewayService_DomainDeploy_Route) String

type GatewayService_DomainListRequest

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

func (*GatewayService_DomainListRequest) Descriptor deprecated

func (*GatewayService_DomainListRequest) Descriptor() ([]byte, []int)

Deprecated: Use GatewayService_DomainListRequest.ProtoReflect.Descriptor instead.

func (*GatewayService_DomainListRequest) ProtoMessage

func (*GatewayService_DomainListRequest) ProtoMessage()

func (*GatewayService_DomainListRequest) ProtoReflect

func (*GatewayService_DomainListRequest) Reset

func (*GatewayService_DomainListRequest) String

type GatewayService_DomainListResponse

type GatewayService_DomainListResponse struct {
	Domains []*GatewayService_Domain `protobuf:"bytes,9,rep,name=domains,proto3" json:"domains,omitempty" toml:"domains,omitempty" yaml:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayService_DomainListResponse) Descriptor deprecated

func (*GatewayService_DomainListResponse) Descriptor() ([]byte, []int)

Deprecated: Use GatewayService_DomainListResponse.ProtoReflect.Descriptor instead.

func (*GatewayService_DomainListResponse) GetDomains

func (*GatewayService_DomainListResponse) ProtoMessage

func (*GatewayService_DomainListResponse) ProtoMessage()

func (*GatewayService_DomainListResponse) ProtoReflect

func (*GatewayService_DomainListResponse) Reset

func (*GatewayService_DomainListResponse) String

type GatewayService_DomainRequest

type GatewayService_DomainRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" toml:"name,omitempty" yaml:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayService_DomainRequest) Descriptor deprecated

func (*GatewayService_DomainRequest) Descriptor() ([]byte, []int)

Deprecated: Use GatewayService_DomainRequest.ProtoReflect.Descriptor instead.

func (*GatewayService_DomainRequest) GetName

func (x *GatewayService_DomainRequest) GetName() string

func (*GatewayService_DomainRequest) ProtoMessage

func (*GatewayService_DomainRequest) ProtoMessage()

func (*GatewayService_DomainRequest) ProtoReflect

func (*GatewayService_DomainRequest) Reset

func (x *GatewayService_DomainRequest) Reset()

func (*GatewayService_DomainRequest) String

type GatewayService_Domain_Route

type GatewayService_Domain_Route struct {
	Path    string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty" toml:"path,omitempty" yaml:"path,omitempty"`
	Type    string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty" toml:"type,omitempty" yaml:"type,omitempty"`
	Action  string   `protobuf:"bytes,6,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" yaml:"action,omitempty"`
	Targets []string `protobuf:"bytes,9,rep,name=targets,proto3" json:"targets,omitempty" toml:"targets,omitempty" yaml:"targets,omitempty"`
	// contains filtered or unexported fields
}

func (*GatewayService_Domain_Route) Descriptor deprecated

func (*GatewayService_Domain_Route) Descriptor() ([]byte, []int)

Deprecated: Use GatewayService_Domain_Route.ProtoReflect.Descriptor instead.

func (*GatewayService_Domain_Route) GetAction

func (x *GatewayService_Domain_Route) GetAction() string

func (*GatewayService_Domain_Route) GetPath

func (x *GatewayService_Domain_Route) GetPath() string

func (*GatewayService_Domain_Route) GetTargets

func (x *GatewayService_Domain_Route) GetTargets() []string

func (*GatewayService_Domain_Route) GetType

func (x *GatewayService_Domain_Route) GetType() string

func (*GatewayService_Domain_Route) ProtoMessage

func (*GatewayService_Domain_Route) ProtoMessage()

func (*GatewayService_Domain_Route) ProtoReflect

func (*GatewayService_Domain_Route) Reset

func (x *GatewayService_Domain_Route) Reset()

func (*GatewayService_Domain_Route) String

func (x *GatewayService_Domain_Route) String() string

type HostService_Zone

type HostService_Zone struct {
	Meta        *Common_Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty" toml:"meta,omitempty" yaml:"meta,omitempty"`
	Action      string       `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty" toml:"action,omitempty" yaml:"action,omitempty"`
	Description string       `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HostService_Zone) Descriptor deprecated

func (*HostService_Zone) Descriptor() ([]byte, []int)

Deprecated: Use HostService_Zone.ProtoReflect.Descriptor instead.

func (*HostService_Zone) GetAction

func (x *HostService_Zone) GetAction() string

func (*HostService_Zone) GetDescription

func (x *HostService_Zone) GetDescription() string

func (*HostService_Zone) GetMeta

func (x *HostService_Zone) GetMeta() *Common_Meta

func (*HostService_Zone) ProtoMessage

func (*HostService_Zone) ProtoMessage()

func (*HostService_Zone) ProtoReflect

func (x *HostService_Zone) ProtoReflect() protoreflect.Message

func (*HostService_Zone) Reset

func (x *HostService_Zone) Reset()

func (*HostService_Zone) String

func (x *HostService_Zone) String() string

type HostService_ZoneListRequest

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

func (*HostService_ZoneListRequest) Descriptor deprecated

func (*HostService_ZoneListRequest) Descriptor() ([]byte, []int)

Deprecated: Use HostService_ZoneListRequest.ProtoReflect.Descriptor instead.

func (*HostService_ZoneListRequest) ProtoMessage

func (*HostService_ZoneListRequest) ProtoMessage()

func (*HostService_ZoneListRequest) ProtoReflect

func (*HostService_ZoneListRequest) Reset

func (x *HostService_ZoneListRequest) Reset()

func (*HostService_ZoneListRequest) String

func (x *HostService_ZoneListRequest) String() string

type HostService_ZoneListResponse

type HostService_ZoneListResponse struct {
	Zones []*HostService_Zone `protobuf:"bytes,9,rep,name=zones,proto3" json:"zones,omitempty" toml:"zones,omitempty" yaml:"zones,omitempty"`
	// contains filtered or unexported fields
}

func (*HostService_ZoneListResponse) Descriptor deprecated

func (*HostService_ZoneListResponse) Descriptor() ([]byte, []int)

Deprecated: Use HostService_ZoneListResponse.ProtoReflect.Descriptor instead.

func (*HostService_ZoneListResponse) GetZones

func (*HostService_ZoneListResponse) ProtoMessage

func (*HostService_ZoneListResponse) ProtoMessage()

func (*HostService_ZoneListResponse) ProtoReflect

func (*HostService_ZoneListResponse) Reset

func (x *HostService_ZoneListResponse) Reset()

func (*HostService_ZoneListResponse) String

Jump to

Keyboard shortcuts

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