api

package
v0.0.0-...-fdd9b93 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	Name                 string                    `json:"name,omitempty"`
	Endpoints            interface{}               `json:"endpoints,omitempty"`
	MSP                  *common.MSP               `json:"msp,omitempty"`
	Crypto               *current.SecretSpec       `json:"crypto,omitempty"`
	Resources            *util.ResourceReturn      `json:"resources,omitempty"`
	IndividualResources  *current.OrdererResources `json:"individualResources,omitempty"`
	CRNString            string                    `json:"crnString,omitempty"`
	CRN                  *dconfig.CRN              `json:"crn,omitempty"`
	ResourcePlanID       string                    `json:"resource_plan_id,omitempty"`
	Storage              *current.OrdererStorages  `json:"storage,omitempty"`
	CRStatus             *current.IBPOrdererStatus `json:"crstatus,omitempty"`
	Version              string                    `json:"version,omitempty"`
	AdminCerts           []string                  `json:"admincerts,omitempty"`
	Config               interface{}               `json:"config,omitempty"`
	NodeOU               *NodeOU                   `json:"nodeou,omitempty"`
	CreationTimestamp    int64                     `json:"creation_timestamp,omitempty"`
	LastUpdatedTimestamp int64                     `json:"last_updated,omitempty"`
	Region               string                    `json:"region,omitempty"`
	Zone                 string                    `json:"zone,omitempty"`
	Parent               *Parent                   `json:"parent,omitempty"`
	Replicas             int32                     `json:"replicas,omitempty"`
	HSM                  *current.HSM              `json:"hsm,omitempty"`
	ChannelLess          bool                      `json:"channelless,omitempty"`
}

type CreateRequest

type CreateRequest struct {
	Orgname           string                    `json:"orgname,omitempty"`
	Prefix            string                    `json:"prefix,omitempty"`
	Number            int                       `json:"number,omitempty"`
	Config            []*current.SecretSpec     `json:"crypto,omitempty"`
	Genesis           *GenesisSpec              `json:"genesis,omitempty"`
	Resources         *current.OrdererResources `json:"resources,omitempty"`
	Storage           *current.OrdererStorages  `json:"storage,omitempty"`
	SystemChannelName string                    `json:"systemchannelname,omitempty"`
	ConfigOverride    []*runtime.RawExtension   `json:"configoverride,omitempty"`
	HSM               *current.HSM              `json:"hsm,omitempty"`
	Version           string                    `json:"version,omitempty"`
	Arch              []string                  `json:"arch,omitempty"`
	Zone              []string                  `json:"zone,omitempty"`
	Region            []string                  `json:"region,omitempty"`
	ChannelLess       *bool                     `json:"channelless,omitempty"`
}

type DeleteRequest

type DeleteRequest struct {
	NodeType  string `json:"node_type,omitempty"`
	NodeName  string `json:"node_name,omitempty"`
	ServiceID string `json:"serviceId,omitempty"`
}

type DeleteResponse

type DeleteResponse struct {
	Message string `json:"message,omitempty"`
}

type Deleted

type Deleted struct {
	Timestamp string `json:"timestamp"`
	Reason    string `json:"reason"`
	Who       string `json:"who"`
}

type GenesisSpec

type GenesisSpec struct {
	Block string `json:"block,omitempty"`
}

type GetResponse

type GetResponse struct {
	Message string `json:"message,omitempty"`
	Response
}

type NodeOU

type NodeOU struct {
	Enabled *bool `json:"enabled,omitempty"`
}

type Parent

type Parent struct {
	CRStatus *current.IBPOrdererStatus `json:"crstatus,omitempty"`
	Name     string                    `json:"name,omitempty"`
}

type PrecreateRequest

type PrecreateRequest struct {
	Orgname           string                    `json:"orgname,omitempty"`
	Prefix            string                    `json:"prefix,omitempty"`
	Number            int                       `json:"number,omitempty"`
	Config            *current.SecretSpec       `json:"crypto,omitempty"`
	Genesis           *GenesisSpec              `json:"genesis,omitempty"`
	Resources         *current.OrdererResources `json:"resources,omitempty"`
	Storage           *current.OrdererStorages  `json:"storage,omitempty"`
	SystemChannelName string                    `json:"systemchannelname,omitempty"`
	ConfigOverride    *runtime.RawExtension     `json:"configoverride,omitempty"`
	HSM               *current.HSM              `json:"hsm,omitempty"`
	Version           string                    `json:"version,omitempty"`
	Arch              []string                  `json:"arch,omitempty"`
	Zone              string                    `json:"zone,omitempty"`
	Region            string                    `json:"region,omitempty"`
}

type Response

type Response struct {
	Component `json:",inline"`
}

type UpdateRequest

type UpdateRequest struct {
	Version        string                    `json:"version,omitempty"`
	Config         *current.SecretSpec       `json:"crypto,omitempty"`
	AdminCerts     []string                  `json:"admincerts,omitempty"`
	Resources      *current.OrdererResources `json:"resources,omitempty"`
	Genesis        *GenesisSpec              `json:"genesis,omitempty"`
	ConfigOverride *runtime.RawExtension     `json:"configoverride,omitempty"`
	HSM            *current.HSM              `json:"hsm,omitempty"`
	NodeOU         *NodeOU                   `json:"nodeou,omitempty"`
	Actions        *current.OrdererAction    `json:"actions,omitempty"`
	Replicas       *int32                    `json:"replicas,omitempty"`
}

type UpdateResponse

type UpdateResponse struct {
	Message string `json:"message,omitempty"`
	Response
}

Jump to

Keyboard shortcuts

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