types

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlattenDataSiloBlockList

func FlattenDataSiloBlockList(dataSilo DataSilo) []interface{}

func FlattenDataSilos

func FlattenDataSilos(silos []Resource) []interface{}

func FlattenHeaders

func FlattenHeaders(headers *[]Header) []interface{}

func FlattenIDObject added in v0.5.1

func FlattenIDObject(objects []IDObject) []interface{}

func FlattenOwners

func FlattenOwners(dataSilo DataSilo) []interface{}

func FlattenRequestAction added in v0.5.1

func FlattenRequestAction(actions []RequestAction) []interface{}

func FlattenScopes

func FlattenScopes(scopes []Scope) []interface{}

func FromAttributeInputList

func FromAttributeInputList(attributes []AttributeValues) []map[string]interface{}

func FromDataPointSubDataPointInputList

func FromDataPointSubDataPointInputList(properties []SubDataPoint) []interface{}

func FromDataSubCategoryInputList

func FromDataSubCategoryInputList(categories []DataSubCategoryInput) []map[string]interface{}

func FromPlaintextContextList

func FromPlaintextContextList(plaintextContexts []PlaintextContextInput) []map[string]interface{}

func FromPurposeSubCategoryInputList

func FromPurposeSubCategoryInputList(categories []PurposeSubCategoryInput) []map[string]interface{}

func FromStringList

func FromStringList(strings []graphql.String) []interface{}

func ReadApiKeyIntoState

func ReadApiKeyIntoState(d *schema.ResourceData, key APIKey)

func ReadDataPointIntoState

func ReadDataPointIntoState(d *schema.ResourceData, dataPoint DataPoint, properties []SubDataPoint)

func ReadDataSiloConnectionIntoState added in v0.4.1

func ReadDataSiloConnectionIntoState(d *schema.ResourceData, silo DataSilo)

func ReadDataSiloIntoState

func ReadDataSiloIntoState(d *schema.ResourceData, silo DataSilo)

func ReadEnricherIntoState added in v0.5.1

func ReadEnricherIntoState(d *schema.ResourceData, enricher Enricher)

func ToIDList

func ToIDList(origs []interface{}) []graphql.ID

func ToString

func ToString(raw interface{}) graphql.String

func ToStringList

func ToStringList(raw interface{}) []graphql.String

Types

type APIKey

type APIKey struct {
	ID        graphql.String `json:"id"`
	Title     graphql.String `json:"title"`
	Scopes    []Scope        `json:"scopes"`
	DataSilos []Resource     `json:"dataSilos"`
}

type APIKeyUpdatableFields

type APIKeyUpdatableFields struct {
	Scopes    []ScopeName  `json:"scopes,omitempty"`
	DataSilos []graphql.ID `json:"dataSilos,omitempty"`
}

func MakeAPIKeyUpdatableFields

func MakeAPIKeyUpdatableFields(d *schema.ResourceData) APIKeyUpdatableFields

type ApiKeyInput

type ApiKeyInput struct {
	Title graphql.String `json:"title"`
	APIKeyUpdatableFields
}

func MakeApiKeyInput

func MakeApiKeyInput(d *schema.ResourceData) ApiKeyInput

type AttributeInput

type AttributeInput struct {
	Key    graphql.String   `json:"key"`
	Values []graphql.String `json:"values"`
}

func ToAttributeInputList

func ToAttributeInputList(attributes []interface{}) []AttributeInput

type AttributeValues

type AttributeValues struct {
	Name         graphql.String `json:"name"`
	AttributeKey struct {
		Name graphql.String `json:"name"`
	} `json:"attributeKey"`
}

type CreateDataSilosInput

type CreateDataSilosInput struct {
	Name graphql.String `json:"name"`
}

func CreateDataSiloInput

func CreateDataSiloInput(d *schema.ResourceData) CreateDataSilosInput

type CustomHeaderInput

type CustomHeaderInput Header

func ToCustomHeaderInputList

func ToCustomHeaderInputList(origs []interface{}) []CustomHeaderInput

type DataCategoryType

type DataCategoryType string

type DataPoint

type DataPoint struct {
	ID       graphql.String `json:"id"`
	Name     graphql.String `json:"name"`
	DataSilo struct {
		ID graphql.String `json:"id"`
	} `json:"dataSilo"`
	Title struct {
		DefaultMessage graphql.String `json:"defaultMessage"`
	} `json:"title"`
	Description struct {
		DefaultMessage graphql.String `json:"defaultMessage"`
	} `json:"description"`
}

type DataPointSubDataPointInput

type DataPointSubDataPointInput struct {
	Name        graphql.String            `json:"name"`
	Description graphql.String            `json:"description"`
	Categories  []DataSubCategoryInput    `json:"categories"`
	Purposes    []PurposeSubCategoryInput `json:"purposes"`
	Attributes  []AttributeInput          `json:"attributes"`
}

func ToDataPointSubDataPointInputList

func ToDataPointSubDataPointInputList(properties *schema.Set) []DataPointSubDataPointInput

type DataPointUpdatableFields

type DataPointUpdatableFields struct {
	DataSiloId    graphql.String               `json:"dataSiloId"`
	Name          graphql.String               `json:"name"`
	Title         graphql.String               `json:"title"`
	Description   graphql.String               `json:"description"`
	SubDataPoints []DataPointSubDataPointInput `json:"subDataPoints,omitempty"`
}

type DataSilo

type DataSilo struct {
	ID         graphql.String `json:"id"`
	Link       graphql.String `json:"link,omitempty"`
	ExternalId graphql.String `json:"externalId,omitempty"`
	Catalog    struct {
		HasAvcFunctionality graphql.Boolean `json:"hasAvcFunctionality"`
	} `json:"catalog"`

	Type               graphql.String  `json:"type"`
	Title              graphql.String  `json:"title"`
	Description        graphql.String  `json:"description,omitempty"`
	URL                graphql.String  `json:"url,omitempty"`
	NotifyEmailAddress graphql.String  `json:"notifyEmailAddress,omitempty"`
	IsLive             graphql.Boolean `json:"isLive"`
	Owners             []struct {
		ID    graphql.String `json:"id"`
		Email graphql.String `json:"email"`
	} `json:"owners"`
	SubjectBlocklist []struct {
		ID graphql.String `json:"id"`
	} `json:"subjectBlocklist"`
	Headers          []Header                `json:"headers"`
	OuterType        graphql.String          `json:"outerType"`
	PlaintextContext []PlaintextContextInput `json:"plaintextContext"`
	ConnectionState  DataSiloConnectionState `json:"connectionState"`
}

type DataSiloConnectionState

type DataSiloConnectionState string

type DataSiloUpdatableFields

type DataSiloUpdatableFields struct {
	Title                   graphql.String      `json:"title,omitempty"`
	Description             graphql.String      `json:"description,omitempty"`
	URL                     graphql.String      `json:"url,omitempty"`
	NotifyEmailAddress      graphql.String      `json:"notifyEmailAddress,omitempty"`
	IsLive                  graphql.Boolean     `json:"isLive"`
	OwnerEmails             []graphql.String    `json:"ownerEmails"`
	DataSubjectBlockListIds []graphql.String    `json:"dataSubjectBlockListIds"`
	Headers                 []CustomHeaderInput `json:"headers"`
}

func CreateDataSiloUpdatableFields

func CreateDataSiloUpdatableFields(d *schema.ResourceData) DataSiloUpdatableFields

type DataSubCategoryInput

type DataSubCategoryInput struct {
	Name     graphql.String   `json:"name"`
	Category DataCategoryType `json:"category"`
}

func ToDataSubCategoryInputList

func ToDataSubCategoryInputList(properties []interface{}) []DataSubCategoryInput

type DbIntegrationQuerySuggestionInput

type DbIntegrationQuerySuggestionInput string

Enums

type Enricher

type Enricher struct {
	ID              graphql.String  `json:"id"`
	Title           graphql.String  `json:"title"`
	Description     graphql.String  `json:"description"`
	URL             graphql.String  `json:"url"`
	InputIdentifier IDObject        `json:"inputIdentifier"`
	Identifiers     []IDObject      `json:"identifiers"`
	Headers         []Header        `json:"headers"`
	Actions         []RequestAction `json:"actions"`
	Type            EnricherType    `json:"type"`
}

type EnricherInput added in v0.5.1

type EnricherInput struct {
	EnricherUpdatableFields
}

func MakeEnricherInput added in v0.5.1

func MakeEnricherInput(d *schema.ResourceData) EnricherInput

type EnricherType added in v0.5.1

type EnricherType string

type EnricherUpdatableFields added in v0.5.1

type EnricherUpdatableFields struct {
	Title           graphql.String      `json:"title"`
	Description     graphql.String      `json:"description,omitempty"`
	URL             graphql.String      `json:"url,omitempty"`
	InputIdentifier graphql.String      `json:"inputIdentifier"`
	Identifiers     []graphql.String    `json:"identifiers"`
	Headers         []CustomHeaderInput `json:"headers,omitempty"`
	Actions         []RequestAction     `json:"actions,omitempty"`
	Type            EnricherType        `json:"type"`
}

func MakeEnricherUpdatableFields added in v0.5.1

func MakeEnricherUpdatableFields(d *schema.ResourceData) EnricherUpdatableFields
type Header struct {
	Name     graphql.String  `json:"name"`
	Value    graphql.String  `json:"value"`
	IsSecret graphql.Boolean `json:"isSecret"`
}

type IDObject added in v0.5.1

type IDObject struct {
	ID graphql.String `json:"id"`
}

type Identifier added in v0.5.1

type Identifier struct {
	ID   graphql.String `json:"id"`
	Name graphql.String `json:"name"`
}

type PlaintextContextInput

type PlaintextContextInput struct {
	Name  graphql.String `json:"name"`
	Value graphql.String `json:"value"`
}

func ToPlaintextContextList

func ToPlaintextContextList(plaintextContexts *schema.Set) []PlaintextContextInput

type ProcessingPurpose

type ProcessingPurpose string

type PurposeSubCategoryInput

type PurposeSubCategoryInput struct {
	Name    graphql.String    `json:"name"`
	Purpose ProcessingPurpose `json:"purpose"`
}

func ToPurposeSubCategoryInputList

func ToPurposeSubCategoryInputList(categories []interface{}) []PurposeSubCategoryInput

type ReconnectDataSiloInput

type ReconnectDataSiloInput struct {
	DataSiloId       graphql.ID              `json:"dataSiloId"`
	PlaintextContext []PlaintextContextInput `json:"plaintextContext,omitempty"`
}

func CreateReconnectDataSiloFields

func CreateReconnectDataSiloFields(d *schema.ResourceData) ReconnectDataSiloInput

type RequestAction

type RequestAction string

func ToRequestActionList

func ToRequestActionList(origs []interface{}) []RequestAction

type RequestActionObjectResolver

type RequestActionObjectResolver string

func ToRequestActionObjectResolverList

func ToRequestActionObjectResolverList(origs []interface{}) []RequestActionObjectResolver

type Resource

type Resource struct {
	ID graphql.String `json:"id"`
}

type Scope

type Scope struct {
	Name graphql.String `json:"name"`
}

type ScopeName

type ScopeName string

func CreateScopeNames

func CreateScopeNames(rawScopes []interface{}) []ScopeName

type SubDataPoint

type SubDataPoint struct {
	Name      graphql.String `json:"name"`
	DataPoint struct {
		ID graphql.String `json:"id"`
	} `json:"dataPoint"`
	Description     graphql.String            `json:"description"`
	Categories      []DataSubCategoryInput    `json:"categories"`
	Purposes        []PurposeSubCategoryInput `json:"purposes"`
	AttributeValues []AttributeValues         `json:"attributeValues"`
}

type UpdateApiKeyInput

type UpdateApiKeyInput struct {
	ID graphql.String `json:"id"`
	APIKeyUpdatableFields
}

func MakeUpdateApiKeyInput

func MakeUpdateApiKeyInput(d *schema.ResourceData) UpdateApiKeyInput

type UpdateDataSiloInput

type UpdateDataSiloInput struct {
	Id graphql.ID `json:"id"`
	DataSiloUpdatableFields
}

type UpdateEnricherInput added in v0.5.1

type UpdateEnricherInput struct {
	ID graphql.String `json:"id"`
	EnricherUpdatableFields
}

func MakeUpdateEnricherInput added in v0.5.1

func MakeUpdateEnricherInput(d *schema.ResourceData) UpdateEnricherInput

type UpdateOrCreateDataPointInput

type UpdateOrCreateDataPointInput struct {
	ID graphql.String `json:"id,omitempty"`
	DataPointUpdatableFields
}

Jump to

Keyboard shortcuts

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