model

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AbacActionNames

type AbacActionNames string

AbacActionNames

const (
	AbacActionNamesDeleteResource         AbacActionNames = "DELETE_RESOURCE"
	AbacActionNamesExecToPod              AbacActionNames = "EXEC_TO_POD"
	AbacActionNamesRefresh                AbacActionNames = "REFRESH"
	AbacActionNamesSync                   AbacActionNames = "SYNC"
	AbacActionNamesTerminateSync          AbacActionNames = "TERMINATE_SYNC"
	AbacActionNamesView                   AbacActionNames = "VIEW"
	AbacActionNamesViewPodLogs            AbacActionNames = "VIEW_POD_LOGS"
	AbacActionNamesAppRollback            AbacActionNames = "APP_ROLLBACK"
	AbacActionNamesRolloutPause           AbacActionNames = "ROLLOUT_PAUSE"
	AbacActionNamesRolloutResume          AbacActionNames = "ROLLOUT_RESUME"
	AbacActionNamesRolloutPromoteFull     AbacActionNames = "ROLLOUT_PROMOTE_FULL"
	AbacActionNamesRolloutSkipCurrentStep AbacActionNames = "ROLLOUT_SKIP_CURRENT_STEP"
	AbacActionNamesAccessArtifacts        AbacActionNames = "ACCESS_ARTIFACTS"
	AbacActionNamesAccessLogs             AbacActionNames = "ACCESS_LOGS"
	AbacActionNamesCreate                 AbacActionNames = "CREATE"
	AbacActionNamesRestart                AbacActionNames = "RESTART"
	AbacActionNamesResubmit               AbacActionNames = "RESUBMIT"
	AbacActionNamesStop                   AbacActionNames = "STOP"
	AbacActionNamesTerminate              AbacActionNames = "TERMINATE"
)

func (AbacActionNames) IsValid

func (e AbacActionNames) IsValid() bool

func (AbacActionNames) MarshalGQL

func (e AbacActionNames) MarshalGQL(w io.Writer)

func (AbacActionNames) String

func (e AbacActionNames) String() string

func (*AbacActionNames) UnmarshalGQL

func (e *AbacActionNames) UnmarshalGQL(v interface{}) error

type AbacAllActionsValidatedEntityAction

type AbacAllActionsValidatedEntityAction struct {
	Action  AbacActionNames `json:"action"`
	Enabled bool            `json:"enabled"`
}

AbacAllActionsValidatedEntity

type AbacAllActionsValidationResult

type AbacAllActionsValidationResult struct {
	Entity           string                                 `json:"entity"`
	ValidationResult []*AbacAllActionsValidatedEntityAction `json:"validationResult"`
}

AbacAllActionsValidationResult

type AbacAttribute

type AbacAttribute struct {
	// Name
	Name AbacAttributeNames `json:"name"`
	// Key
	Key *string `json:"key,omitempty"`
	// Value
	Value string `json:"value"`
}

AbacAttribute

type AbacAttributeInput

type AbacAttributeInput struct {
	// Name
	Name string `json:"name"`
	// Key
	Key *string `json:"key,omitempty"`
	// Value
	Value string `json:"value"`
}

AbacAttributeInput

type AbacAttributeNames

type AbacAttributeNames string

AbacAttributeNames

const (
	AbacAttributeNamesCluster   AbacAttributeNames = "CLUSTER"
	AbacAttributeNamesGitSource AbacAttributeNames = "GIT_SOURCE"
	AbacAttributeNamesLabel     AbacAttributeNames = "LABEL"
	AbacAttributeNamesNamespace AbacAttributeNames = "NAMESPACE"
	AbacAttributeNamesRuntime   AbacAttributeNames = "RUNTIME"
)

func (AbacAttributeNames) IsValid

func (e AbacAttributeNames) IsValid() bool

func (AbacAttributeNames) MarshalGQL

func (e AbacAttributeNames) MarshalGQL(w io.Writer)

func (AbacAttributeNames) String

func (e AbacAttributeNames) String() string

func (*AbacAttributeNames) UnmarshalGQL

func (e *AbacAttributeNames) UnmarshalGQL(v interface{}) error

type AbacEntityValues

type AbacEntityValues string

Values from AbacEntityValues enum

const (
	AbacEntityValuesClusters            AbacEntityValues = "clusters"
	AbacEntityValuesExecutionContext    AbacEntityValues = "executionContext"
	AbacEntityValuesGitContexts         AbacEntityValues = "gitContexts"
	AbacEntityValuesGitopsApplications  AbacEntityValues = "gitopsApplications"
	AbacEntityValuesHelmCharts          AbacEntityValues = "helmCharts"
	AbacEntityValuesPipelines           AbacEntityValues = "pipelines"
	AbacEntityValuesProjects            AbacEntityValues = "projects"
	AbacEntityValuesSharedConfiguration AbacEntityValues = "sharedConfiguration"
	AbacEntityValuesWorkflows           AbacEntityValues = "workflows"
	AbacEntityValuesWorkflowTemplates   AbacEntityValues = "workflowTemplates"
)

func (AbacEntityValues) IsValid

func (e AbacEntityValues) IsValid() bool

func (AbacEntityValues) MarshalGQL

func (e AbacEntityValues) MarshalGQL(w io.Writer)

func (AbacEntityValues) String

func (e AbacEntityValues) String() string

func (*AbacEntityValues) UnmarshalGQL

func (e *AbacEntityValues) UnmarshalGQL(v interface{}) error

type AbacRulesFilterArgs

type AbacRulesFilterArgs struct {
	// Filter by entity types
	Type *AbacEntityValues `json:"type,omitempty"`
}

AbacRulesFilterArgs

type AbacValidationResult

type AbacValidationResult struct {
	IsValid bool    `json:"isValid"`
	Message *string `json:"message,omitempty"`
}

AbacValidationResult

type CreateAbacRuleInput

type CreateAbacRuleInput struct {
	// EntityType
	EntityType AbacEntityValues `json:"entityType"`
	// Teams
	Teams []string `json:"teams"`
	// Actions
	Actions []string `json:"actions"`
	// Tags
	Tags []*string `json:"tags,omitempty"`
	// Attributes
	Attributes []*AbacAttributeInput `json:"attributes,omitempty"`
}

CreateRuleInput

type EntityAbacRules

type EntityAbacRules struct {
	// Id
	ID *string `json:"id,omitempty"`
	// AccountId
	AccountID string `json:"accountId"`
	// EntityType
	EntityType AbacEntityValues `json:"entityType"`
	// Teams
	Teams []string `json:"teams"`
	// Tags
	Tags []*string `json:"tags,omitempty"`
	// Actions
	Actions []AbacActionNames `json:"actions"`
	// Attributes
	Attributes []*AbacAttribute `json:"attributes"`
}

EntityAbacRules

type Mutation

type Mutation struct {
}

Mutation root

type Query

type Query struct {
}

Query root

type UpdateAbacRuleInput

type UpdateAbacRuleInput struct {
	// _id
	ID string `json:"id"`
	// AccountId
	AccountID string `json:"accountId"`
	// EntityType
	EntityType AbacEntityValues `json:"entityType"`
	// Teams
	Teams []string `json:"teams"`
	// Actions
	Actions []string `json:"actions"`
	// Tags
	Tags []*string `json:"tags,omitempty"`
	// Attributes
	Attributes []*AbacAttributeInput `json:"attributes,omitempty"`
}

UpdateRuleInput

Jump to

Keyboard shortcuts

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