Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllTaskOrderByInput = []TaskOrderByInput{ TaskOrderByInputLocalCreatedAtAsc, TaskOrderByInputLocalCreatedAtDesc, }
View Source
var AllUserSource = []UserSource{ UserSourceLdap, UserSourceLocal, }
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 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"` }
Click to show internal directories.
Click to hide internal directories.