clientgentypes

package
v1.42.3 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateParams

type GenerateParams struct {
	Buf      *bytes.Buffer
	AppSlug  string
	Meta     *meta.Data
	Services ServiceSet
	Tags     TagSet
	Options  Options
}

type Options added in v1.41.9

type Options struct {
	OpenAPIExcludePrivateEndpoints bool
}

Options for the client generator.

type ServiceSet

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

func AllServices added in v1.35.3

func AllServices(md *meta.Data) ServiceSet

func NewServiceSet

func NewServiceSet(md *meta.Data, include, exclude []string) ServiceSet

NewServiceSet constructs a new service set. If the list contains "*", include all services in the metadata. Finally, exclude any services in the exclude list.

func (ServiceSet) Has

func (s ServiceSet) Has(svc string) bool

func (ServiceSet) List

func (s ServiceSet) List() []string

type TagSet added in v1.41.7

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

func NewTagSet added in v1.41.7

func NewTagSet(tags, excludedTags []string) TagSet

func (TagSet) IsRPCIncluded added in v1.41.7

func (t TagSet) IsRPCIncluded(rpc *meta.RPC) bool

Jump to

Keyboard shortcuts

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