events

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 (e *Event) GetEntityLink() string

Get the link of the entity link by the type of it's integration.

func (*Event) GetEntityTitle added in v1.1.7

func (e *Event) GetEntityTitle() string

Get the title of the entity by the type of it's integration.

func (*Event) GetEntityType added in v1.1.7

func (e *Event) GetEntityType() string

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 GetByEnvironment(ctx context.ServiceContext, client *clients.GQLClient, env_id string) (*Events, error)

func GetByEnvironmentAndIntegrationType

func GetByEnvironmentAndIntegrationType(ctx context.ServiceContext, client *clients.GQLClient, env_id string, integration_type integrations.Type) (*Events, error)

func GetByIntegration

func GetByIntegration(ctx context.ServiceContext, client *clients.GQLClient, integration_id string) (*Events, error)

func GetBySecret

func GetBySecret(ctx context.ServiceContext, client *clients.GQLClient, secret_id string) (*Events, error)
type Header string
const (
	VAULT_TOKEN Header = "X-Vault-Token"
)

type Key added in v1.1.7

type Key string
const (
	ECDSA_P256   Key = "ecdsa-p256"
	AES256_GCM96 Key = "aes256-gcm96"
)

type Type added in v1.1.7

type Type string
const (
	Plaintext  Type = "plaintext"
	Ciphertext Type = "ciphertext"
)

Jump to

Keyboard shortcuts

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