commons

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 3 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

type ActionsGetOptions struct {
	EnvID string `json:"env_id,omitempty" graphql:"env_id,omitempty"`
}

type Event

type Event struct {
	ID            string                          `json:"id,omitempty" graphql:"id,omitempty"`
	CreatedAt     time.Time                       `json:"created_at,omitempty" graphql:"created_at,omitempty"`
	UpdatedAt     time.Time                       `json:"updated_at,omitempty" graphql:"updated_at,omitempty"`
	Name          string                          `json:"name,omitempty" graphql:"name,omitempty"`
	IntegrationID string                          `json:"integration_id,omitempty" graphql:"integration_id,omitempty"`
	EnvID         string                          `json:"env_id,omitempty" graphql:"env_id,omitempty"`
	EntityDetails map[string]interface{}          `json:"entity_details,omitempty" graphql:"entity_details,omitempty"`
	Integration   integrationsCommons.Integration `json:"integration,omitempty" graphql:"integration,omitempty"`
}
func (e *Event) GetEntityLink() string

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

func (*Event) GetEntityTitle

func (e *Event) GetEntityTitle() string

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

func (*Event) GetEntityType

func (e *Event) GetEntityType() string

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

type Events

type Events []Event
type Header string
const (
	VAULT_TOKEN Header = "X-Vault-Token"
)

type Key

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

type Type

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