Documentation
¶
Index ¶
- Constants
- type ActionsGetOptions
- type Event
- type Events
- func GetByEnvironment(ctx context.ServiceContext, client *clients.GQLClient, env_id string) (*Events, error)
- func GetByEnvironmentAndIntegrationType(ctx context.ServiceContext, client *clients.GQLClient, env_id string, ...) (*Events, error)
- func GetByIntegration(ctx context.ServiceContext, client *clients.GQLClient, integration_id string) (*Events, error)
- func GetBySecret(ctx context.ServiceContext, client *clients.GQLClient, secret_id string) (*Events, error)
- type Header
- type Key
- type Type
Constants ¶
View Source
const (
VAULT_ROOT_TOKEN = "VAULT_ROOT_TOKEN"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionsGetOptions ¶ added in v1.1.7
type ActionsGetOptions struct {
EnvID string `json:"env_id,omitempty"`
}
type Event ¶ added in v1.1.7
type Event struct {
ID string `json:"id,omitempty"`
CreatedAt time.Time `json:"created_at,omitempty"`
UpdatedAt time.Time `json:"updated_at,omitempty"`
Name string `json:"name,omitempty"`
IntegrationID string `json:"integration_id,omitempty"`
EnvID string `json:"env_id,omitempty"`
EntityDetails map[string]interface{} `json:"entity_details,omitempty"`
Integration integrations.Integration `json:"integration,omitempty"`
}
func (*Event) GetEntityLink ¶ added in v1.1.7
Get the link of the entity link by the type of it's integration.
func (*Event) GetEntityTitle ¶ added in v1.1.7
Get the title of the entity by the type of it's integration.
func (*Event) GetEntityType ¶ added in v1.1.7
Get the type of entity by the type of it's integration.
type Events ¶ added in v1.1.7
type Events []Event
func GetByEnvironment ¶
func GetByEnvironmentAndIntegrationType ¶
func GetByEnvironmentAndIntegrationType(ctx context.ServiceContext, client *clients.GQLClient, env_id string, integration_type integrations.Type) (*Events, error)
func GetByIntegration ¶
func GetBySecret ¶
Click to show internal directories.
Click to hide internal directories.