Documentation
¶
Index ¶
- type Blueprint
- type BlueprintNamespaceMapping
- type Service
- type ServiceOp
- func (s *ServiceOp) CreateBlueprintNamespaceMapping(ctx context.Context, input *BlueprintNamespaceMapping) (*BlueprintNamespaceMapping, error)
- func (s *ServiceOp) DeleteBlueprintNamespaceMapping(ctx context.Context, input *BlueprintNamespaceMapping) (*commons.EmptyResponse, error)
- func (s *ServiceOp) ListBlueprintNamespaceMappings(ctx context.Context, blueprintId string) ([]*BlueprintNamespaceMapping, error)
- func (s *ServiceOp) ListBlueprints(ctx context.Context, blueprintId *string, blueprintName *string) ([]*Blueprint, error)
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
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 (o *BlueprintNamespaceMapping) SetBlueprintId(v *string) *BlueprintNamespaceMapping
func (*BlueprintNamespaceMapping) SetNamespaceId ¶
func (o *BlueprintNamespaceMapping) SetNamespaceId(v *string) *BlueprintNamespaceMapping
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.
type ServiceOp ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.