Documentation ¶
Index ¶
- func NewError(message string) error
- type AuthRequestPayload
- type AuthResponsePayload
- type CCClient
- func (c *CCClient) CreateClusterCustomConfig(clusterParams ClusterCreationParams) (string, error)
- func (c *CCClient) CreateClusterCustomConfigWithContext(ctx context.Context, clusterParams ClusterCreationParams) (string, error)
- func (c *CCClient) CreateClusterDefault(clusterName string) (string, error)
- func (c *CCClient) CreateClusterDefaultWithContext(ctx context.Context, clusterName string) (string, error)
- func (c *CCClient) CreateClusterWithParams(clusterName string, clusterPlanName string, channelName string, ...) (string, error)
- func (c *CCClient) CreateClusterWithParamsAndContext(ctx context.Context, clusterName string, clusterPlanName string, ...) (string, error)
- func (c *CCClient) CreateZeebeClient(clusterID string, clientName string) (ZeebeClientCreatedResponse, error)
- func (c *CCClient) CreateZeebeClientWithContext(ctx context.Context, clusterID string, clientName string) (ZeebeClientCreatedResponse, error)
- func (c *CCClient) DeleteCluster(clusterId string) (bool, error)
- func (c *CCClient) DeleteClusterWithContext(ctx context.Context, clusterId string) (bool, error)
- func (c *CCClient) DeleteZeebeClient(clusterID string, clientID string) (bool, error)
- func (c *CCClient) DeleteZeebeClientWithContext(ctx context.Context, clusterID string, clientID string) (bool, error)
- func (c *CCClient) GetClusterByName(name string) (Cluster, error)
- func (c *CCClient) GetClusterByNameWithContext(ctx context.Context, name string) (Cluster, error)
- func (c *CCClient) GetClusterDetails(clusterId string) (ClusterStatus, error)
- func (c *CCClient) GetClusterDetailsWithContext(ctx context.Context, clusterId string) (ClusterStatus, error)
- func (c *CCClient) GetClusterParams() (*ClusterParams, error)
- func (c *CCClient) GetClusterParamsWithContext(ctx context.Context) (*ClusterParams, error)
- func (c *CCClient) GetClusters() ([]Cluster, error)
- func (c *CCClient) GetClustersWithContext(ctx context.Context) ([]Cluster, error)
- func (c *CCClient) GetZeebeClientDetails(clusterID string, clientID string) (ZeebeClientDetailsResponse, error)
- func (c *CCClient) GetZeebeClientDetailsWithContext(ctx context.Context, clusterID string, clientID string) (ZeebeClientDetailsResponse, error)
- func (c *CCClient) GetZeebeClients(clusterID string) ([]ZeebeClientResponse, error)
- func (c *CCClient) GetZeebeClientsWithContext(ctx context.Context, clusterID string) ([]ZeebeClientResponse, error)
- func (c *CCClient) InitTracer() func()
- func (c *CCClient) Login(clientId string, clientSecret string) (bool, error)
- func (c *CCClient) LoginWithContext(ctx context.Context, clientId string, clientSecret string) (bool, error)
- func (c *CCClient) SetCCApiURL(ccApiURL string)
- func (c *CCClient) SetTracerURL(tracerURL string)
- func (c *CCClient) TracingEnabled(tracingEnabled bool)
- type Channel
- type Cluster
- type ClusterCreatedResponse
- type ClusterCreationParams
- type ClusterMetadata
- type ClusterParams
- type ClusterPlantType
- type ClusterStatus
- type ClusterStatusResponse
- type ErrorString
- type Generation
- type K8sContext
- type Region
- type ZeebeClientCreatePayload
- type ZeebeClientCreatedResponse
- type ZeebeClientDetailsResponse
- type ZeebeClientResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthRequestPayload ¶
type AuthRequestPayload struct { GrantType string `json:"grant_type"` Audience string `json:"audience"` ClientId string `json:"client_id"` ClientSecret string `json:"client_secret"` }
func NewAuthRequestPayload ¶
func NewAuthRequestPayload(clientId string, clientSecret string) AuthRequestPayload
type AuthResponsePayload ¶
type CCClient ¶ added in v0.0.39
type CCClient struct { AuthResponsePayload AuthResponsePayload ClusterParams ClusterParams ClusterCreatedResponse ClusterCreatedResponse ClusterStatusResponse ClusterStatusResponse ZeebeClientCreate ZeebeClientCreatedResponse // contains filtered or unexported fields }
func (*CCClient) CreateClusterCustomConfig ¶ added in v0.0.39
func (c *CCClient) CreateClusterCustomConfig(clusterParams ClusterCreationParams) (string, error)
func (*CCClient) CreateClusterCustomConfigWithContext ¶ added in v0.0.42
func (*CCClient) CreateClusterDefault ¶ added in v0.0.39
func (*CCClient) CreateClusterDefaultWithContext ¶ added in v0.0.42
func (*CCClient) CreateClusterWithParams ¶ added in v0.0.39
func (*CCClient) CreateClusterWithParamsAndContext ¶ added in v0.0.42
func (*CCClient) CreateZeebeClient ¶ added in v0.0.39
func (c *CCClient) CreateZeebeClient(clusterID string, clientName string) (ZeebeClientCreatedResponse, error)
func (*CCClient) CreateZeebeClientWithContext ¶ added in v0.0.42
func (*CCClient) DeleteCluster ¶ added in v0.0.39
func (*CCClient) DeleteClusterWithContext ¶ added in v0.0.42
func (*CCClient) DeleteZeebeClient ¶ added in v0.0.39
func (*CCClient) DeleteZeebeClientWithContext ¶ added in v0.0.42
func (*CCClient) GetClusterByName ¶ added in v0.0.39
func (*CCClient) GetClusterByNameWithContext ¶ added in v0.0.42
func (*CCClient) GetClusterDetails ¶ added in v0.0.39
func (c *CCClient) GetClusterDetails(clusterId string) (ClusterStatus, error)
func (*CCClient) GetClusterDetailsWithContext ¶ added in v0.0.42
func (*CCClient) GetClusterParams ¶ added in v0.0.39
func (c *CCClient) GetClusterParams() (*ClusterParams, error)
func (*CCClient) GetClusterParamsWithContext ¶ added in v0.0.42
func (c *CCClient) GetClusterParamsWithContext(ctx context.Context) (*ClusterParams, error)
func (*CCClient) GetClusters ¶ added in v0.0.39
func (*CCClient) GetClustersWithContext ¶ added in v0.0.42
GetClusters from Camunda Cloud
func (*CCClient) GetZeebeClientDetails ¶ added in v0.0.39
func (c *CCClient) GetZeebeClientDetails(clusterID string, clientID string) (ZeebeClientDetailsResponse, error)
func (*CCClient) GetZeebeClientDetailsWithContext ¶ added in v0.0.42
func (*CCClient) GetZeebeClients ¶ added in v0.0.39
func (c *CCClient) GetZeebeClients(clusterID string) ([]ZeebeClientResponse, error)
func (*CCClient) GetZeebeClientsWithContext ¶ added in v0.0.42
func (c *CCClient) GetZeebeClientsWithContext(ctx context.Context, clusterID string) ([]ZeebeClientResponse, error)
GetZeebeClients - List all Zeebe clients
func (*CCClient) InitTracer ¶ added in v0.0.40
func (c *CCClient) InitTracer() func()
func (*CCClient) LoginWithContext ¶ added in v0.0.42
func (*CCClient) SetCCApiURL ¶ added in v0.0.44
func (*CCClient) SetTracerURL ¶ added in v0.0.44
func (*CCClient) TracingEnabled ¶ added in v0.0.44
type Channel ¶
type Channel struct { Id string `json:"uuid"` Name string `json:"name"` AllowedGeneration []Generation `json:"allowedGenerations"` DefaultGeneration Generation `json:"defaultGeneration"` }
type Cluster ¶
type Cluster struct { ID string `json:"uuid"` Name string `json:"name"` Channel Channel `json:"channel"` Generation Generation `json:"generation"` Created string `json:"created"` //K8sContext K8sContext `json:"k8sContext"` ClusterMetadata ClusterMetadata `json:"metadata"` ClusterPlantType ClusterPlantType `json:"planType"` }
type ClusterCreatedResponse ¶
type ClusterCreatedResponse struct {
ClusterId string `json:"clusterId"`
}
type ClusterCreationParams ¶
type ClusterCreationParams struct { ClusterName string `json:"name"` ChannelId string `json:"channelId"` GenerationId string `json:"generationId"` RegionId string `json:"regionId"` PlanTypeId string `json:"planTypeId"` }
type ClusterMetadata ¶
type ClusterParams ¶
type ClusterParams struct { Channels []Channel `json:"channels"` ClusterPlanTypes []ClusterPlantType `json:"clusterPlanTypes"` Regions []Region `json:"regions"` }
type ClusterPlantType ¶
type ClusterPlantType struct { Id string `json:"uuid"` Name string `json:"name"` K8sContext K8sContext `json:"k8sContext"` }
type ClusterStatus ¶
type ClusterStatusResponse ¶
type ClusterStatusResponse struct { ClusterId string `json:"uuid"` ClusterStatus ClusterStatus `json:"status"` }
type ErrorString ¶
type ErrorString struct {
// contains filtered or unexported fields
}
func (*ErrorString) Error ¶
func (e *ErrorString) Error() string
type Generation ¶
type K8sContext ¶
type ZeebeClientCreatePayload ¶ added in v0.0.27
type ZeebeClientCreatePayload struct {
ClientName string `json:"clientName"`
}
type ZeebeClientCreatedResponse ¶ added in v0.0.27
type ZeebeClientDetailsResponse ¶ added in v0.0.27
type ZeebeClientResponse ¶ added in v0.0.27
Click to show internal directories.
Click to hide internal directories.