Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Baas deployment files
BaaSDeploymentPath = "k8s/ansible/vars/namespaces"
)
View Source
const ( // ErrBaask8sManagementDisabled is an error raised when trying to access the baask8ss management baask8ss // when the server has been started with the --external-baask8ss flag Errbaask8sManagementDisabled = baasapi.Error("baask8s management is disabled") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Baasdeployment ¶
type Baaspods ¶
type Baaspods struct { NetworkID string `json:"NetworkID"` Owner string `json:"Owner"` Platform string `json:"Platform"` NodeName string `json:"NodeName"` PodName string `json:"PodName"` //Tags []string `json:"Tags"` Status v1.PodStatus `json:"Status"` StartTime *metav1.Time `json:"startTime,omitempty" protobuf:"bytes,7,opt,name=startTime"` UID types.UID `json:"UID"` Namespace string `json:"Namespace"` ObjectMeta metav1.Object `json:"ObjectMeta"` }
type CHLCreatePayload ¶
type CHLPayload ¶
type CHLPayload struct { Allchannels []baasapi.CHL Currchannels []baasapi.CHL }
type Handler ¶
type Handler struct { *mux.Router Baask8sService baasapi.Baask8sService BaasmspService baasapi.BaasmspService Baask8sGroupService baasapi.Baask8sGroupService FileService baasapi.FileService JWTService baasapi.JWTService Snapshotter baasapi.Snapshotter CAFilesManager baasapi.CAFilesManager JobService baasapi.JobService // contains filtered or unexported fields }
Handler is the HTTP handler used to handle baask8s operations.
func NewHandler ¶
func NewHandler(bouncer *security.RequestBouncer) *Handler
NewHandler creates a handler to manage baask8s operations.
type SVCCreatePayload ¶
type SVCCreatePayload struct {
Svcname string `json:"svcname"`
}
Source Files ¶
- baask8s_blocks_query.go
- baask8s_ca_management.go
- baask8s_chaincodes_install.go
- baask8s_chaincodes_instantiate.go
- baask8s_chaincodes_invoke.go
- baask8s_chaincodes_query.go
- baask8s_channels_anchorpeers.go
- baask8s_channels_create.go
- baask8s_channels_join.go
- baask8s_channels_list.go
- baask8s_create.go
- baask8s_create_log.go
- baask8s_delete.go
- baask8s_endorsement.go
- baask8s_list.go
- baask8s_msps_list.go
- baask8s_pod_operations.go
- baask8s_pods_list.go
- baask8s_settings.go
- baask8s_svcs_deploy.go
- baask8s_token.go
- baask8s_update_access.go
- handler.go
Click to show internal directories.
Click to hide internal directories.