Documentation ¶
Index ¶
- Constants
- type AccessRequest
- type AccessResponse
- type AuthUser
- type ChangePasswordRequest
- type Configuration
- type CreateFrontendRequest
- type CreateFrontendResponse
- func (m *CreateFrontendResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateFrontendResponse) MarshalBinary() ([]byte, error)
- func (m *CreateFrontendResponse) UnmarshalBinary(b []byte) error
- func (m *CreateFrontendResponse) Validate(formats strfmt.Registry) error
- type DeleteFrontendRequest
- type DisableRequest
- type EnableRequest
- type EnableResponse
- type Environment
- type EnvironmentAndResources
- func (m *EnvironmentAndResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EnvironmentAndResources) MarshalBinary() ([]byte, error)
- func (m *EnvironmentAndResources) UnmarshalBinary(b []byte) error
- func (m *EnvironmentAndResources) Validate(formats strfmt.Registry) error
- type EnvironmentShares
- type EnvironmentSharesList
- type Environments
- type ErrorMessage
- type Frontend
- type Frontends
- type InviteRequest
- type InviteTokenGenerateRequest
- func (m *InviteTokenGenerateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *InviteTokenGenerateRequest) MarshalBinary() ([]byte, error)
- func (m *InviteTokenGenerateRequest) UnmarshalBinary(b []byte) error
- func (m *InviteTokenGenerateRequest) Validate(formats strfmt.Registry) error
- type LoginRequest
- type LoginResponse
- type Metrics
- type MetricsSample
- type Overview
- type PasswordRequirements
- type Principal
- type PublicFrontend
- type PublicFrontendList
- type RegisterRequest
- type RegisterResponse
- type ResetPasswordRequest
- type Share
- type ShareMetrics
- type ShareMetricsSample
- type ShareRequest
- type ShareResponse
- type Shares
- type SparkData
- type SparkDataSample
- type UnaccessRequest
- type UnshareRequest
- type UpdateFrontendRequest
- type UpdateShareRequest
- type VerifyRequest
- type VerifyResponse
- type Version
Constants ¶
const ( // CreateFrontendRequestPermissionModeOpen captures enum value "open" CreateFrontendRequestPermissionModeOpen string = "open" // CreateFrontendRequestPermissionModeClosed captures enum value "closed" CreateFrontendRequestPermissionModeClosed string = "closed" )
const ( string = "proxy" ShareRequestBackendModeWeb string = "web" ShareRequestBackendModeTCPTunnel string = "tcpTunnel" ShareRequestBackendModeUDPTunnel string = "udpTunnel" ShareRequestBackendModeCaddy string = "caddy" ShareRequestBackendModeDrive string = "drive" ShareRequestBackendModeSocks string = "socks" ShareRequestBackendModeVpn string = "vpn" )ShareRequestBackendModeProxy
const ( string = "github" ShareRequestOauthProviderGoogle string = "google" )ShareRequestOauthProviderGithub
const ( string = "open" ShareRequestPermissionModeClosed string = "closed" )ShareRequestPermissionModeOpen
const ( string = "public" ShareRequestShareModePrivate string = "private" )ShareRequestShareModePublic
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessRequest ¶
type AccessRequest struct { // env z Id EnvZID string `json:"envZId,omitempty"` // shr token ShrToken string `json:"shrToken,omitempty"` }
AccessRequest access request
swagger:model accessRequest
func (*AccessRequest) ContextValidate ¶
ContextValidate validates this access request based on context it is used
func (*AccessRequest) MarshalBinary ¶
func (m *AccessRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccessRequest) UnmarshalBinary ¶
func (m *AccessRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AccessResponse ¶
type AccessResponse struct { // backend mode BackendMode string `json:"backendMode,omitempty"` // frontend token FrontendToken string `json:"frontendToken,omitempty"` }
AccessResponse access response
swagger:model accessResponse
func (*AccessResponse) ContextValidate ¶
ContextValidate validates this access response based on context it is used
func (*AccessResponse) MarshalBinary ¶
func (m *AccessResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccessResponse) UnmarshalBinary ¶
func (m *AccessResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthUser ¶
type AuthUser struct { // password Password string `json:"password,omitempty"` // username Username string `json:"username,omitempty"` }
AuthUser auth user
swagger:model authUser
func (*AuthUser) ContextValidate ¶
ContextValidate validates this auth user based on context it is used
func (*AuthUser) MarshalBinary ¶
MarshalBinary interface implementation
func (*AuthUser) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ChangePasswordRequest ¶ added in v0.4.25
type ChangePasswordRequest struct { // email Email string `json:"email,omitempty"` // new password NewPassword string `json:"newPassword,omitempty"` // old password OldPassword string `json:"oldPassword,omitempty"` }
ChangePasswordRequest change password request
swagger:model changePasswordRequest
func (*ChangePasswordRequest) ContextValidate ¶ added in v0.4.25
ContextValidate validates this change password request based on context it is used
func (*ChangePasswordRequest) MarshalBinary ¶ added in v0.4.25
func (m *ChangePasswordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ChangePasswordRequest) UnmarshalBinary ¶ added in v0.4.25
func (m *ChangePasswordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Configuration ¶
type Configuration struct { // invite token contact InviteTokenContact string `json:"inviteTokenContact,omitempty"` // invites open InvitesOpen bool `json:"invitesOpen,omitempty"` // password requirements PasswordRequirements *PasswordRequirements `json:"passwordRequirements,omitempty"` // requires invite token RequiresInviteToken bool `json:"requiresInviteToken,omitempty"` // tou link TouLink string `json:"touLink,omitempty"` // version Version string `json:"version,omitempty"` }
Configuration configuration
swagger:model configuration
func (*Configuration) ContextValidate ¶
ContextValidate validate this configuration based on the context it is used
func (*Configuration) MarshalBinary ¶
func (m *Configuration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Configuration) UnmarshalBinary ¶
func (m *Configuration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFrontendRequest ¶
type CreateFrontendRequest struct { // permission mode // Enum: [open closed] PermissionMode string `json:"permissionMode,omitempty"` // public name PublicName string `json:"public_name,omitempty"` // url template URLTemplate string `json:"url_template,omitempty"` // z Id ZID string `json:"zId,omitempty"` }
CreateFrontendRequest create frontend request
swagger:model createFrontendRequest
func (*CreateFrontendRequest) ContextValidate ¶
ContextValidate validates this create frontend request based on context it is used
func (*CreateFrontendRequest) MarshalBinary ¶
func (m *CreateFrontendRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFrontendRequest) UnmarshalBinary ¶
func (m *CreateFrontendRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateFrontendResponse ¶
type CreateFrontendResponse struct { // token Token string `json:"token,omitempty"` }
CreateFrontendResponse create frontend response
swagger:model createFrontendResponse
func (*CreateFrontendResponse) ContextValidate ¶
func (m *CreateFrontendResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create frontend response based on context it is used
func (*CreateFrontendResponse) MarshalBinary ¶
func (m *CreateFrontendResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateFrontendResponse) UnmarshalBinary ¶
func (m *CreateFrontendResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DeleteFrontendRequest ¶
type DeleteFrontendRequest struct { // frontend token FrontendToken string `json:"frontendToken,omitempty"` }
DeleteFrontendRequest delete frontend request
swagger:model deleteFrontendRequest
func (*DeleteFrontendRequest) ContextValidate ¶
ContextValidate validates this delete frontend request based on context it is used
func (*DeleteFrontendRequest) MarshalBinary ¶
func (m *DeleteFrontendRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DeleteFrontendRequest) UnmarshalBinary ¶
func (m *DeleteFrontendRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DisableRequest ¶
type DisableRequest struct { // identity Identity string `json:"identity,omitempty"` }
DisableRequest disable request
swagger:model disableRequest
func (*DisableRequest) ContextValidate ¶
ContextValidate validates this disable request based on context it is used
func (*DisableRequest) MarshalBinary ¶
func (m *DisableRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DisableRequest) UnmarshalBinary ¶
func (m *DisableRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnableRequest ¶
type EnableRequest struct { // description Description string `json:"description,omitempty"` // host Host string `json:"host,omitempty"` }
EnableRequest enable request
swagger:model enableRequest
func (*EnableRequest) ContextValidate ¶
ContextValidate validates this enable request based on context it is used
func (*EnableRequest) MarshalBinary ¶
func (m *EnableRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnableRequest) UnmarshalBinary ¶
func (m *EnableRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnableResponse ¶
type EnableResponse struct { // cfg Cfg string `json:"cfg,omitempty"` // identity Identity string `json:"identity,omitempty"` }
EnableResponse enable response
swagger:model enableResponse
func (*EnableResponse) ContextValidate ¶
ContextValidate validates this enable response based on context it is used
func (*EnableResponse) MarshalBinary ¶
func (m *EnableResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnableResponse) UnmarshalBinary ¶
func (m *EnableResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Environment ¶
type Environment struct { // activity Activity SparkData `json:"activity,omitempty"` // address Address string `json:"address,omitempty"` // created at CreatedAt int64 `json:"createdAt,omitempty"` // description Description string `json:"description,omitempty"` // host Host string `json:"host,omitempty"` // limited Limited bool `json:"limited,omitempty"` // updated at UpdatedAt int64 `json:"updatedAt,omitempty"` // z Id ZID string `json:"zId,omitempty"` }
Environment environment
swagger:model environment
func (*Environment) ContextValidate ¶
ContextValidate validate this environment based on the context it is used
func (*Environment) MarshalBinary ¶
func (m *Environment) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Environment) UnmarshalBinary ¶
func (m *Environment) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnvironmentAndResources ¶ added in v0.4.0
type EnvironmentAndResources struct { // environment Environment *Environment `json:"environment,omitempty"` // frontends Frontends Frontends `json:"frontends,omitempty"` Shares Shares `json:"shares,omitempty"` }
EnvironmentAndResources environment and resources
swagger:model environmentAndResources
func (*EnvironmentAndResources) ContextValidate ¶ added in v0.4.0
func (m *EnvironmentAndResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this environment and resources based on the context it is used
func (*EnvironmentAndResources) MarshalBinary ¶ added in v0.4.0
func (m *EnvironmentAndResources) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnvironmentAndResources) UnmarshalBinary ¶ added in v0.4.0
func (m *EnvironmentAndResources) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnvironmentShares ¶
type EnvironmentShares struct { Environment `json:"environment,omitempty"` Shares Shares `json:"shares,omitempty"` }Environment *
EnvironmentShares environment shares
swagger:model environmentShares
func (*EnvironmentShares) ContextValidate ¶
ContextValidate validate this environment shares based on the context it is used
func (*EnvironmentShares) MarshalBinary ¶
func (m *EnvironmentShares) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EnvironmentShares) UnmarshalBinary ¶
func (m *EnvironmentShares) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EnvironmentSharesList ¶
type EnvironmentSharesList []*EnvironmentShares
EnvironmentSharesList environment shares list
swagger:model environmentSharesList
func (EnvironmentSharesList) ContextValidate ¶
ContextValidate validate this environment shares list based on the context it is used
type Environments ¶
type Environments []*Environment
Environments environments
swagger:model environments
func (Environments) ContextValidate ¶
ContextValidate validate this environments based on the context it is used
type ErrorMessage ¶
type ErrorMessage string
ErrorMessage error message
swagger:model errorMessage
func (ErrorMessage) ContextValidate ¶
ContextValidate validates this error message based on context it is used
type Frontend ¶ added in v0.4.0
type Frontend struct { // created at CreatedAt int64 `json:"createdAt,omitempty"` // id ID int64 `json:"id,omitempty"` // shr token ShrToken string `json:"shrToken,omitempty"` // token Token string `json:"token,omitempty"` // updated at UpdatedAt int64 `json:"updatedAt,omitempty"` // z Id ZID string `json:"zId,omitempty"` }
Frontend frontend
swagger:model frontend
func (*Frontend) ContextValidate ¶ added in v0.4.0
ContextValidate validates this frontend based on context it is used
func (*Frontend) MarshalBinary ¶ added in v0.4.0
MarshalBinary interface implementation
func (*Frontend) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary interface implementation
type Frontends ¶ added in v0.4.0
type Frontends []*Frontend
Frontends frontends
swagger:model frontends
func (Frontends) ContextValidate ¶ added in v0.4.0
ContextValidate validate this frontends based on the context it is used
type InviteRequest ¶
type InviteRequest struct { // email Email string `json:"email,omitempty"` // token Token string `json:"token,omitempty"` }
InviteRequest invite request
swagger:model inviteRequest
func (*InviteRequest) ContextValidate ¶
ContextValidate validates this invite request based on context it is used
func (*InviteRequest) MarshalBinary ¶
func (m *InviteRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InviteRequest) UnmarshalBinary ¶
func (m *InviteRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type InviteTokenGenerateRequest ¶
type InviteTokenGenerateRequest struct { // tokens Tokens []string `json:"tokens"` }
InviteTokenGenerateRequest invite token generate request
swagger:model inviteTokenGenerateRequest
func (*InviteTokenGenerateRequest) ContextValidate ¶
func (m *InviteTokenGenerateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this invite token generate request based on context it is used
func (*InviteTokenGenerateRequest) MarshalBinary ¶
func (m *InviteTokenGenerateRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InviteTokenGenerateRequest) UnmarshalBinary ¶
func (m *InviteTokenGenerateRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginRequest ¶
type LoginRequest struct { // email Email string `json:"email,omitempty"` // password Password string `json:"password,omitempty"` }
LoginRequest login request
swagger:model loginRequest
func (*LoginRequest) ContextValidate ¶
ContextValidate validates this login request based on context it is used
func (*LoginRequest) MarshalBinary ¶
func (m *LoginRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginRequest) UnmarshalBinary ¶
func (m *LoginRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginResponse ¶
type LoginResponse string
LoginResponse login response
swagger:model loginResponse
func (LoginResponse) ContextValidate ¶
ContextValidate validates this login response based on context it is used
type Metrics ¶ added in v0.4.0
type Metrics struct { // id ID string `json:"id,omitempty"` // period Period float64 `json:"period,omitempty"` // samples Samples []*MetricsSample `json:"samples"` // scope Scope string `json:"scope,omitempty"` }
Metrics metrics
swagger:model metrics
func (*Metrics) ContextValidate ¶ added in v0.4.0
ContextValidate validate this metrics based on the context it is used
func (*Metrics) MarshalBinary ¶ added in v0.4.0
MarshalBinary interface implementation
func (*Metrics) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary interface implementation
type MetricsSample ¶ added in v0.4.0
type MetricsSample struct { // rx Rx float64 `json:"rx,omitempty"` // timestamp Timestamp float64 `json:"timestamp,omitempty"` // tx Tx float64 `json:"tx,omitempty"` }
MetricsSample metrics sample
swagger:model metricsSample
func (*MetricsSample) ContextValidate ¶ added in v0.4.0
ContextValidate validates this metrics sample based on context it is used
func (*MetricsSample) MarshalBinary ¶ added in v0.4.0
func (m *MetricsSample) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MetricsSample) UnmarshalBinary ¶ added in v0.4.0
func (m *MetricsSample) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Overview ¶ added in v0.4.0
type Overview struct { // account limited AccountLimited bool `json:"accountLimited,omitempty"` // environments Environments []*EnvironmentAndResources `json:"environments"` }
Overview overview
swagger:model overview
func (*Overview) ContextValidate ¶ added in v0.4.0
ContextValidate validate this overview based on the context it is used
func (*Overview) MarshalBinary ¶ added in v0.4.0
MarshalBinary interface implementation
func (*Overview) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary interface implementation
type PasswordRequirements ¶ added in v0.4.0
type PasswordRequirements struct { // length Length int64 `json:"length,omitempty"` // require capital RequireCapital bool `json:"requireCapital,omitempty"` // require numeric RequireNumeric bool `json:"requireNumeric,omitempty"` // require special RequireSpecial bool `json:"requireSpecial,omitempty"` // valid special characters ValidSpecialCharacters string `json:"validSpecialCharacters,omitempty"` }
PasswordRequirements password requirements
swagger:model passwordRequirements
func (*PasswordRequirements) ContextValidate ¶ added in v0.4.0
ContextValidate validates this password requirements based on context it is used
func (*PasswordRequirements) MarshalBinary ¶ added in v0.4.0
func (m *PasswordRequirements) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PasswordRequirements) UnmarshalBinary ¶ added in v0.4.0
func (m *PasswordRequirements) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Principal ¶
type Principal struct { // admin Admin bool `json:"admin,omitempty"` // email Email string `json:"email,omitempty"` // id ID int64 `json:"id,omitempty"` // limitless Limitless bool `json:"limitless,omitempty"` // token Token string `json:"token,omitempty"` }
Principal principal
swagger:model principal
func (*Principal) ContextValidate ¶
ContextValidate validates this principal based on context it is used
func (*Principal) MarshalBinary ¶
MarshalBinary interface implementation
func (*Principal) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PublicFrontend ¶
type PublicFrontend struct { // created at CreatedAt int64 `json:"createdAt,omitempty"` // public name PublicName string `json:"publicName,omitempty"` // token Token string `json:"token,omitempty"` // updated at UpdatedAt int64 `json:"updatedAt,omitempty"` // url template URLTemplate string `json:"urlTemplate,omitempty"` // z Id ZID string `json:"zId,omitempty"` }
PublicFrontend public frontend
swagger:model publicFrontend
func (*PublicFrontend) ContextValidate ¶
ContextValidate validates this public frontend based on context it is used
func (*PublicFrontend) MarshalBinary ¶
func (m *PublicFrontend) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicFrontend) UnmarshalBinary ¶
func (m *PublicFrontend) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PublicFrontendList ¶
type PublicFrontendList []*PublicFrontend
PublicFrontendList public frontend list
swagger:model publicFrontendList
func (PublicFrontendList) ContextValidate ¶
ContextValidate validate this public frontend list based on the context it is used
type RegisterRequest ¶
type RegisterRequest struct { // password Password string `json:"password,omitempty"` // token Token string `json:"token,omitempty"` }
RegisterRequest register request
swagger:model registerRequest
func (*RegisterRequest) ContextValidate ¶
ContextValidate validates this register request based on context it is used
func (*RegisterRequest) MarshalBinary ¶
func (m *RegisterRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisterRequest) UnmarshalBinary ¶
func (m *RegisterRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegisterResponse ¶
type RegisterResponse struct { // token Token string `json:"token,omitempty"` }
RegisterResponse register response
swagger:model registerResponse
func (*RegisterResponse) ContextValidate ¶
ContextValidate validates this register response based on context it is used
func (*RegisterResponse) MarshalBinary ¶
func (m *RegisterResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegisterResponse) UnmarshalBinary ¶
func (m *RegisterResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResetPasswordRequest ¶
type ResetPasswordRequest struct { // password Password string `json:"password,omitempty"` // token Token string `json:"token,omitempty"` }
ResetPasswordRequest reset password request
swagger:model resetPasswordRequest
func (*ResetPasswordRequest) ContextValidate ¶
ContextValidate validates this reset password request based on context it is used
func (*ResetPasswordRequest) MarshalBinary ¶
func (m *ResetPasswordRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResetPasswordRequest) UnmarshalBinary ¶
func (m *ResetPasswordRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Share ¶
type Share struct { SparkData `json:"activity,omitempty"` BackendMode string `json:"backendMode,omitempty"` BackendProxyEndpoint string `json:"backendProxyEndpoint,omitempty"` CreatedAt int64 `json:"createdAt,omitempty"` FrontendEndpoint string `json:"frontendEndpoint,omitempty"` FrontendSelection string `json:"frontendSelection,omitempty"` Limited bool `json:"limited,omitempty"` Reserved bool `json:"reserved,omitempty"` ShareMode string `json:"shareMode,omitempty"` Token string `json:"token,omitempty"` UpdatedAt int64 `json:"updatedAt,omitempty"` ZID string `json:"zId,omitempty"` }Activity
Share share
swagger:model share
func (*Share) ContextValidate ¶
ContextValidate validate this share based on the context it is used
func (*Share) MarshalBinary ¶
MarshalBinary interface implementation
func (*Share) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ShareMetrics ¶
type ShareMetrics []*ShareMetricsSample
ShareMetrics share metrics
swagger:model shareMetrics
func (ShareMetrics) ContextValidate ¶
ContextValidate validate this share metrics based on the context it is used
type ShareMetricsSample ¶ added in v0.4.0
type ShareMetricsSample struct { float64 `json:"rx,omitempty"` Timestamp float64 `json:"timestamp,omitempty"` Tx float64 `json:"tx,omitempty"` }Rx
ShareMetricsSample share metrics sample
swagger:model shareMetricsSample
func (*ShareMetricsSample) ContextValidate ¶ added in v0.4.0
ContextValidate validates this share metrics sample based on context it is used
func (*ShareMetricsSample) MarshalBinary ¶ added in v0.4.0
func (m *ShareMetricsSample) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShareMetricsSample) UnmarshalBinary ¶ added in v0.4.0
func (m *ShareMetricsSample) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShareRequest ¶
type ShareRequest struct { string `json:"accessGrants"` AuthScheme string `json:"authScheme,omitempty"` AuthUsers []*AuthUser `json:"authUsers"` // Enum: [proxy web tcpTunnel udpTunnel caddy drive socks vpn] BackendMode string `json:"backendMode,omitempty"` BackendProxyEndpoint string `json:"backendProxyEndpoint,omitempty"` EnvZID string `json:"envZId,omitempty"` FrontendSelection []string `json:"frontendSelection"` OauthAuthorizationCheckInterval string `json:"oauthAuthorizationCheckInterval,omitempty"` OauthEmailDomains []string `json:"oauthEmailDomains"` // Enum: [github google] OauthProvider string `json:"oauthProvider,omitempty"` // Enum: [open closed] PermissionMode string `json:"permissionMode,omitempty"` Reserved bool `json:"reserved,omitempty"` // Enum: [public private] ShareMode string `json:"shareMode,omitempty"` UniqueName string `json:"uniqueName,omitempty"` }AccessGrants []
ShareRequest share request
swagger:model shareRequest
func (*ShareRequest) ContextValidate ¶
ContextValidate validate this share request based on the context it is used
func (*ShareRequest) MarshalBinary ¶
func (m *ShareRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShareRequest) UnmarshalBinary ¶
func (m *ShareRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ShareResponse ¶
type ShareResponse struct { string `json:"frontendProxyEndpoints"` ShrToken string `json:"shrToken,omitempty"` }FrontendProxyEndpoints []
ShareResponse share response
swagger:model shareResponse
func (*ShareResponse) ContextValidate ¶
ContextValidate validates this share response based on context it is used
func (*ShareResponse) MarshalBinary ¶
func (m *ShareResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ShareResponse) UnmarshalBinary ¶
func (m *ShareResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Shares ¶
type Shares []*Share
Shares shares
swagger:model shares
func (Shares) ContextValidate ¶
ContextValidate validate this shares based on the context it is used
type SparkData ¶ added in v0.4.0
type SparkData []*SparkDataSample
SparkData spark data
swagger:model sparkData
func (SparkData) ContextValidate ¶ added in v0.4.0
ContextValidate validate this spark data based on the context it is used
type SparkDataSample ¶ added in v0.4.0
type SparkDataSample struct { // rx Rx float64 `json:"rx,omitempty"` // tx Tx float64 `json:"tx,omitempty"` }
SparkDataSample spark data sample
swagger:model sparkDataSample
func (*SparkDataSample) ContextValidate ¶ added in v0.4.0
ContextValidate validates this spark data sample based on context it is used
func (*SparkDataSample) MarshalBinary ¶ added in v0.4.0
func (m *SparkDataSample) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SparkDataSample) UnmarshalBinary ¶ added in v0.4.0
func (m *SparkDataSample) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnaccessRequest ¶
type UnaccessRequest struct { // env z Id EnvZID string `json:"envZId,omitempty"` // frontend token FrontendToken string `json:"frontendToken,omitempty"` // shr token ShrToken string `json:"shrToken,omitempty"` }
UnaccessRequest unaccess request
swagger:model unaccessRequest
func (*UnaccessRequest) ContextValidate ¶
ContextValidate validates this unaccess request based on context it is used
func (*UnaccessRequest) MarshalBinary ¶
func (m *UnaccessRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnaccessRequest) UnmarshalBinary ¶
func (m *UnaccessRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UnshareRequest ¶
type UnshareRequest struct { string `json:"envZId,omitempty"` Reserved bool `json:"reserved,omitempty"` ShrToken string `json:"shrToken,omitempty"` }EnvZID
UnshareRequest unshare request
swagger:model unshareRequest
func (*UnshareRequest) ContextValidate ¶
ContextValidate validates this unshare request based on context it is used
func (*UnshareRequest) MarshalBinary ¶
func (m *UnshareRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnshareRequest) UnmarshalBinary ¶
func (m *UnshareRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateFrontendRequest ¶
type UpdateFrontendRequest struct { // frontend token FrontendToken string `json:"frontendToken,omitempty"` // public name PublicName string `json:"publicName,omitempty"` // url template URLTemplate string `json:"urlTemplate,omitempty"` }
UpdateFrontendRequest update frontend request
swagger:model updateFrontendRequest
func (*UpdateFrontendRequest) ContextValidate ¶
ContextValidate validates this update frontend request based on context it is used
func (*UpdateFrontendRequest) MarshalBinary ¶
func (m *UpdateFrontendRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateFrontendRequest) UnmarshalBinary ¶
func (m *UpdateFrontendRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateShareRequest ¶
type UpdateShareRequest struct { string `json:"addAccessGrants"` BackendProxyEndpoint string `json:"backendProxyEndpoint,omitempty"` RemoveAccessGrants []string `json:"removeAccessGrants"` ShrToken string `json:"shrToken,omitempty"` }AddAccessGrants []
UpdateShareRequest update share request
swagger:model updateShareRequest
func (*UpdateShareRequest) ContextValidate ¶
ContextValidate validates this update share request based on context it is used
func (*UpdateShareRequest) MarshalBinary ¶
func (m *UpdateShareRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateShareRequest) UnmarshalBinary ¶
func (m *UpdateShareRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VerifyRequest ¶
type VerifyRequest struct { // token Token string `json:"token,omitempty"` }
VerifyRequest verify request
swagger:model verifyRequest
func (*VerifyRequest) ContextValidate ¶
ContextValidate validates this verify request based on context it is used
func (*VerifyRequest) MarshalBinary ¶
func (m *VerifyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VerifyRequest) UnmarshalBinary ¶
func (m *VerifyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VerifyResponse ¶
type VerifyResponse struct { // email Email string `json:"email,omitempty"` }
VerifyResponse verify response
swagger:model verifyResponse
func (*VerifyResponse) ContextValidate ¶
ContextValidate validates this verify response based on context it is used
func (*VerifyResponse) MarshalBinary ¶
func (m *VerifyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VerifyResponse) UnmarshalBinary ¶
func (m *VerifyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Version ¶
type Version string
Version version
swagger:model version
func (Version) ContextValidate ¶
ContextValidate validates this version based on context it is used
Source Files ¶
- access_request.go
- access_response.go
- auth_user.go
- change_password_request.go
- configuration.go
- create_frontend_request.go
- create_frontend_response.go
- delete_frontend_request.go
- disable_request.go
- enable_request.go
- enable_response.go
- environment.go
- environment_and_resources.go
- environment_shares.go
- environment_shares_list.go
- environments.go
- error_message.go
- frontend.go
- frontends.go
- invite_request.go
- invite_token_generate_request.go
- login_request.go
- login_response.go
- metrics.go
- metrics_sample.go
- overview.go
- password_requirements.go
- principal.go
- public_frontend.go
- public_frontend_list.go
- register_request.go
- register_response.go
- reset_password_request.go
- share.go
- share_metrics.go
- share_metrics_sample.go
- share_request.go
- share_response.go
- shares.go
- spark_data.go
- spark_data_sample.go
- unaccess_request.go
- unshare_request.go
- update_frontend_request.go
- update_share_request.go
- verify_request.go
- verify_response.go
- version.go