blueprint

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blueprint added in v1.10.0

type Blueprint struct {
	ID   *string `json:"id,omitempty"` // read-only
	Name *string `json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (Blueprint) MarshalJSON added in v1.10.0

func (o Blueprint) MarshalJSON() ([]byte, error)

func (*Blueprint) SetName added in v1.10.0

func (o *Blueprint) SetName(v *string) *Blueprint

type BlueprintNamespaceMapping

type BlueprintNamespaceMapping struct {
	BlueprintId *string `json:"blueprintId,omitempty"`
	NamespaceId *string `json:"namespaceId,omitempty"`
	// contains filtered or unexported fields
}

func (BlueprintNamespaceMapping) MarshalJSON

func (o BlueprintNamespaceMapping) MarshalJSON() ([]byte, error)

func (*BlueprintNamespaceMapping) SetBlueprintId

func (*BlueprintNamespaceMapping) SetNamespaceId

type Service

type Service interface {
	ListBlueprints(context.Context, *string, *string) ([]*Blueprint, error)

	ListBlueprintNamespaceMappings(context.Context, string) ([]*BlueprintNamespaceMapping, error)
	CreateBlueprintNamespaceMapping(context.Context, *BlueprintNamespaceMapping) (*BlueprintNamespaceMapping, error)
	DeleteBlueprintNamespaceMapping(context.Context, *BlueprintNamespaceMapping) (*commons.EmptyResponse, error)
}

Service provides the API operation methods for making requests to endpoints of the ControlMonkey API. See this package's package overview docs for details on the service.

func New

func New(sess *session.Session, cfgs ...*controlmonkey.Config) Service

type ServiceOp

type ServiceOp struct {
	Client *client.Client
}

func (*ServiceOp) CreateBlueprintNamespaceMapping

func (s *ServiceOp) CreateBlueprintNamespaceMapping(ctx context.Context, input *BlueprintNamespaceMapping) (*BlueprintNamespaceMapping, error)

func (*ServiceOp) DeleteBlueprintNamespaceMapping

func (s *ServiceOp) DeleteBlueprintNamespaceMapping(ctx context.Context, input *BlueprintNamespaceMapping) (*commons.EmptyResponse, error)

func (*ServiceOp) ListBlueprintNamespaceMappings

func (s *ServiceOp) ListBlueprintNamespaceMappings(ctx context.Context, blueprintId string) ([]*BlueprintNamespaceMapping, error)

func (*ServiceOp) ListBlueprints added in v1.10.0

func (s *ServiceOp) ListBlueprints(ctx context.Context, blueprintId *string, blueprintName *string) ([]*Blueprint, error)

Jump to

Keyboard shortcuts

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