clientgentypes

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 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
}

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

Jump to

Keyboard shortcuts

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