api

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployPackage

func DeployPackage(client *graphql.Client, client2 *gql.Client, orgID string, name string) (*api2.Deployment, error)

func NewClient

func NewClient() *graphql.Client

func ReadParamsFromFile added in v0.4.8

func ReadParamsFromFile(path string, pkg *Package) (map[string]interface{}, error)

Types

type JSONScalar added in v0.4.9

type JSONScalar string

func (JSONScalar) GetGraphQLType added in v0.4.9

func (p JSONScalar) GetGraphQLType() string

type Package

type Package struct {
	ID               string
	Name             string
	NamePrefix       string
	ProjectID        string
	ManifestID       string
	TargetID         string
	ActiveDeployment api2.Deployment
	ParamsSchema     jsonschema.Schema
}

func ConfigurePackage added in v0.4.8

func ConfigurePackage(client *graphql.Client, orgID, name, paramValuePath string) (*Package, error)

func GetPackage

func GetPackage(client *graphql.Client, orgID string, name string) (*Package, error)

func (*Package) GetMDMetadata added in v0.4.8

func (p *Package) GetMDMetadata() map[string]interface{}

Jump to

Keyboard shortcuts

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