model

package
v0.0.0-...-e9f4c3e Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type EverouteClusterEvent

type EverouteClusterEvent struct {
	Mutation       schema.MutationType     `json:"mutation"`
	Node           *schema.EverouteCluster `json:"node"`
	PreviousValues *schema.ObjectReference `json:"previousValues"`
}

type HostEvent

type HostEvent struct {
	Mutation       schema.MutationType     `json:"mutation"`
	Node           *schema.Host            `json:"node"`
	PreviousValues *schema.ObjectReference `json:"previousValues"`
}

type IsolationPolicyEvent

type IsolationPolicyEvent struct {
	Mutation       schema.MutationType     `json:"mutation"`
	Node           *schema.IsolationPolicy `json:"node"`
	PreviousValues *schema.ObjectReference `json:"previousValues"`
}

type LabelEvent

type LabelEvent struct {
	Mutation       schema.MutationType     `json:"mutation"`
	Node           *schema.Label           `json:"node"`
	PreviousValues *schema.ObjectReference `json:"previousValues"`
}

type Login

type Login struct {
	Token string `json:"token"`
}

type LoginInput

type LoginInput struct {
	Password string     `json:"password"`
	Source   UserSource `json:"source"`
	Username string     `json:"username"`
}

type SecurityGroupEvent

type SecurityGroupEvent struct {
	Mutation       schema.MutationType     `json:"mutation"`
	Node           *schema.SecurityGroup   `json:"node"`
	PreviousValues *schema.ObjectReference `json:"previousValues"`
}

type SecurityPolicyEvent

type SecurityPolicyEvent struct {
	Mutation       schema.MutationType     `json:"mutation"`
	Node           *schema.SecurityPolicy  `json:"node"`
	PreviousValues *schema.ObjectReference `json:"previousValues"`
}

type ServiceEvent

type ServiceEvent struct {
	Mutation       schema.MutationType              `json:"mutation"`
	Node           *schema.NetworkPolicyRuleService `json:"node"`
	PreviousValues *schema.ObjectReference          `json:"previousValues"`
}

type TaskEvent

type TaskEvent struct {
	Mutation       schema.MutationType     `json:"mutation"`
	Node           *schema.Task            `json:"node"`
	PreviousValues *schema.ObjectReference `json:"previousValues"`
}

type TaskOrderByInput

type TaskOrderByInput string
const (
	TaskOrderByInputLocalCreatedAtAsc  TaskOrderByInput = "local_created_at_ASC"
	TaskOrderByInputLocalCreatedAtDesc TaskOrderByInput = "local_created_at_DESC"
)

func (TaskOrderByInput) IsValid

func (e TaskOrderByInput) IsValid() bool

func (TaskOrderByInput) MarshalGQL

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

func (TaskOrderByInput) String

func (e TaskOrderByInput) String() string

func (*TaskOrderByInput) UnmarshalGQL

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

type User

type User struct {
	Name     string
	Password string
	Source   UserSource
	Token    string
}

User for mock tower user

type UserSource

type UserSource string
const (
	UserSourceLdap  UserSource = "LDAP"
	UserSourceLocal UserSource = "LOCAL"
)

func (UserSource) IsValid

func (e UserSource) IsValid() bool

func (UserSource) MarshalGQL

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

func (UserSource) String

func (e UserSource) String() string

func (*UserSource) UnmarshalGQL

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

type VMEvent

type VMEvent struct {
	Mutation       schema.MutationType     `json:"mutation"`
	Node           *schema.VM              `json:"node"`
	PreviousValues *schema.ObjectReference `json:"previousValues"`
}

Jump to

Keyboard shortcuts

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