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"`
	Resources            *util.ResourceReturn   `json:"resources,omitempty"`
	IndividualResources  *current.PeerResources `json:"individualResources,omitempty"`
	CRNString            string                 `json:"crnString,omitempty"`
	CRN                  *dconfig.CRN           `json:"crn,omitempty"`
	ResourcePlanID       string                 `json:"resource_plan_id,omitempty"`
	Storage              *current.PeerStorages  `json:"storage,omitempty"`
	CRStatus             *current.IBPPeerStatus `json:"crstatus,omitempty"`
	Version              string                 `json:"version,omitempty"`
	AdminCerts           []string               `json:"admincerts,omitempty"`
	Config               interface{}            `json:"config,omitempty"`
	CreationTimestamp    int64                  `json:"creation_timestamp,omitempty"`
	LastUpdatedTimestamp int64                  `json:"last_updated,omitempty"`
	NodeOU               *NodeOU                `json:"nodeou,omitempty"`
	Crypto               *current.SecretSpec    `json:"crypto,omitempty"`
	MSP                  *common.MSP            `json:"msp,omitempty"`
	Region               string                 `json:"region,omitempty"`
	Zone                 string                 `json:"zone,omitempty"`
	Replicas             int32                  `json:"replicas,omitempty"`
	HSM                  *current.HSM           `json:"hsm,omitempty"`
}

type CreateRequest

type CreateRequest struct {
	Version        string                 `json:"version,omitempty"`
	Zone           string                 `json:"zone,omitempty"`
	Orgname        string                 `json:"orgname,omitempty"`
	Config         *current.SecretSpec    `json:"crypto,omitempty"`
	StateDB        string                 `json:"statedb,omitempty"`
	Resources      *current.PeerResources `json:"resources,omitempty"`
	Storage        *current.PeerStorages  `json:"storage,omitempty"`
	ConfigOverride *runtime.RawExtension  `json:"configoverride,omitempty"`
	HSM            *current.HSM           `json:"hsm,omitempty"` // DEPRECATED
	Arch           []string               `json:"arch,omitempty"`
	Region         string                 `json:"region,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 GetResponse

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

type NodeOU

type NodeOU struct {
	Enabled *bool `json:"enabled,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.PeerResources `json:"resources,omitempty"`
	ConfigOverride *runtime.RawExtension  `json:"configoverride,omitempty"`
	HSM            *current.HSM           `json:"hsm,omitempty"` // DEPRECATED
	NodeOU         *NodeOU                `json:"nodeou,omitempty"`
	Actions        *current.PeerAction    `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