Documentation ¶
Index ¶
- Variables
- type AccountInput
- type ActionType
- type ActionsResult
- type AuthProvider
- type CompetitionInput
- type CompetitionUser
- type ConsoleType
- type PowerState
- type PowerStateUpdate
- type ProviderInput
- type RebootType
- type Role
- type ServiceAccountDetails
- type ServiceAccountInput
- type SkeletonVMObject
- type TeamInput
- type UserInput
- type VMObjectInput
Constants ¶
This section is empty.
Variables ¶
View Source
var AllActionType = []ActionType{ ActionTypeSignIn, ActionTypeFailedSignIn, ActionTypeSignOut, ActionTypeAPICall, ActionTypeConsoleAccess, ActionTypeReboot, ActionTypeShutdown, ActionTypePowerOn, ActionTypePowerOff, ActionTypeChangeSelfPassword, ActionTypeChangePassword, ActionTypeCreateObject, ActionTypeUpdateObject, ActionTypeDeleteObject, ActionTypeUpdateLockout, ActionTypeUndefined, }
View Source
var AllAuthProvider = []AuthProvider{ AuthProviderLocal, AuthProviderGitlab, AuthProviderUndefined, }
View Source
var AllConsoleType = []ConsoleType{ ConsoleTypeNovnc, ConsoleTypeSpice, ConsoleTypeRdp, ConsoleTypeSerial, ConsoleTypeMks, }
View Source
var AllPowerState = []PowerState{ PowerStatePoweredOn, PowerStatePoweredOff, PowerStateRebooting, PowerStateShuttingDown, PowerStateSuspended, PowerStateUnknown, }
View Source
var AllRebootType = []RebootType{ RebootTypeSoft, RebootTypeHard, }
View Source
var AllRole = []Role{ RoleUser, RoleAdmin, RoleUndefined, }
Functions ¶
This section is empty.
Types ¶
type AccountInput ¶
type ActionType ¶
type ActionType string
const ( ActionTypeSignIn ActionType = "SIGN_IN" ActionTypeFailedSignIn ActionType = "FAILED_SIGN_IN" ActionTypeSignOut ActionType = "SIGN_OUT" ActionTypeAPICall ActionType = "API_CALL" ActionTypeConsoleAccess ActionType = "CONSOLE_ACCESS" ActionTypeReboot ActionType = "REBOOT" ActionTypeShutdown ActionType = "SHUTDOWN" ActionTypePowerOn ActionType = "POWER_ON" ActionTypePowerOff ActionType = "POWER_OFF" ActionTypeChangeSelfPassword ActionType = "CHANGE_SELF_PASSWORD" ActionTypeChangePassword ActionType = "CHANGE_PASSWORD" ActionTypeCreateObject ActionType = "CREATE_OBJECT" ActionTypeUpdateObject ActionType = "UPDATE_OBJECT" ActionTypeDeleteObject ActionType = "DELETE_OBJECT" ActionTypeUpdateLockout ActionType = "UPDATE_LOCKOUT" ActionTypeUndefined ActionType = "UNDEFINED" )
func (ActionType) IsValid ¶
func (e ActionType) IsValid() bool
func (ActionType) MarshalGQL ¶
func (e ActionType) MarshalGQL(w io.Writer)
func (ActionType) String ¶
func (e ActionType) String() string
func (*ActionType) UnmarshalGQL ¶
func (e *ActionType) UnmarshalGQL(v interface{}) error
type ActionsResult ¶
type AuthProvider ¶
type AuthProvider string
const ( AuthProviderLocal AuthProvider = "LOCAL" AuthProviderGitlab AuthProvider = "GITLAB" AuthProviderUndefined AuthProvider = "UNDEFINED" )
func (AuthProvider) IsValid ¶
func (e AuthProvider) IsValid() bool
func (AuthProvider) MarshalGQL ¶
func (e AuthProvider) MarshalGQL(w io.Writer)
func (AuthProvider) String ¶
func (e AuthProvider) String() string
func (*AuthProvider) UnmarshalGQL ¶
func (e *AuthProvider) UnmarshalGQL(v interface{}) error
type CompetitionInput ¶
type CompetitionUser ¶
type ConsoleType ¶
type ConsoleType string
const ( ConsoleTypeNovnc ConsoleType = "NOVNC" ConsoleTypeSpice ConsoleType = "SPICE" ConsoleTypeRdp ConsoleType = "RDP" ConsoleTypeSerial ConsoleType = "SERIAL" ConsoleTypeMks ConsoleType = "MKS" )
func (ConsoleType) IsValid ¶
func (e ConsoleType) IsValid() bool
func (ConsoleType) MarshalGQL ¶
func (e ConsoleType) MarshalGQL(w io.Writer)
func (ConsoleType) String ¶
func (e ConsoleType) String() string
func (*ConsoleType) UnmarshalGQL ¶
func (e *ConsoleType) UnmarshalGQL(v interface{}) error
type PowerState ¶
type PowerState string
const ( PowerStatePoweredOn PowerState = "POWERED_ON" PowerStatePoweredOff PowerState = "POWERED_OFF" PowerStateRebooting PowerState = "REBOOTING" PowerStateShuttingDown PowerState = "SHUTTING_DOWN" PowerStateSuspended PowerState = "SUSPENDED" PowerStateUnknown PowerState = "UNKNOWN" )
func (PowerState) IsValid ¶
func (e PowerState) IsValid() bool
func (PowerState) MarshalGQL ¶
func (e PowerState) MarshalGQL(w io.Writer)
func (PowerState) String ¶
func (e PowerState) String() string
func (*PowerState) UnmarshalGQL ¶
func (e *PowerState) UnmarshalGQL(v interface{}) error
type PowerStateUpdate ¶
type PowerStateUpdate struct { ID string `json:"ID"` State PowerState `json:"State"` }
type ProviderInput ¶
type RebootType ¶
type RebootType string
const ( RebootTypeSoft RebootType = "SOFT" RebootTypeHard RebootType = "HARD" )
func (RebootType) IsValid ¶
func (e RebootType) IsValid() bool
func (RebootType) MarshalGQL ¶
func (e RebootType) MarshalGQL(w io.Writer)
func (RebootType) String ¶
func (e RebootType) String() string
func (*RebootType) UnmarshalGQL ¶
func (e *RebootType) UnmarshalGQL(v interface{}) error
type ServiceAccountDetails ¶
type ServiceAccountInput ¶
type SkeletonVMObject ¶
Click to show internal directories.
Click to hide internal directories.