Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
// balance
Balance string `json:"balance,omitempty"`
// the cluster name, should be valid for use in dns names
// Required: true
// Max Length: 63
// Min Length: 3
// Pattern: ^[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?(\.[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?)*$
ClusterID *string `json:"clusterId"`
// id
// Required: true
ID *int32 `json:"id"`
// username
// Required: true
Username *string `json:"username"`
}
Account the payable account information swagger:model account
func (*Account) MarshalBinary ¶
MarshalBinary interface implementation
func (*Account) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Cluster ¶
type Cluster struct {
// the clusterId, should be valid for use in dns names
// Required: true
// Max Length: 63
// Min Length: 3
// Pattern: ^[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?(\.[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?)*$
ClusterID *string `json:"clusterId"`
// the number of master created for this kubernetes cluster
NumMasters int32 `json:"numMasters,omitempty"`
// the number of workers created for this kubernetes cluster
NumWorkers int32 `json:"numWorkers,omitempty"`
// the status of the cluster
// Required: true
Status *string `json:"status"`
// the url to access the kubernetes cluster
URL strfmt.URI `json:"url,omitempty"`
}
Cluster cluster swagger:model cluster
func (*Cluster) MarshalBinary ¶
MarshalBinary interface implementation
func (*Cluster) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Error ¶
type Error struct {
// The error code
Code int64 `json:"code,omitempty"`
// The error message
// Required: true
Message *string `json:"message"`
}
Error the default error model for all the error responses coming from the SuperKomputer
swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Jwttoken ¶
type Jwttoken struct {
// access token
AccessToken string `json:"access_token,omitempty"`
// expires in
ExpiresIn int64 `json:"expires_in,omitempty"`
// refresh token
RefreshToken string `json:"refresh_token,omitempty"`
// scope
Scope []string `json:"scope"`
// token type
TokenType *string `json:"token_type,omitempty"`
// jwttoken additional properties
JwttokenAdditionalProperties map[string]interface{} `json:"-"`
}
Jwttoken a JWT token to carry identity information swagger:model jwttoken
func (*Jwttoken) MarshalBinary ¶
MarshalBinary interface implementation
func (Jwttoken) MarshalJSON ¶
MarshalJSON marshals this object with additional properties into a JSON object
func (*Jwttoken) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Jwttoken) UnmarshalJSON ¶
UnmarshalJSON unmarshals this object with additional properties from JSON
type User ¶
type User struct {
// the email of user
Email string `json:"email,omitempty"`
// the first name of user
Firstname string `json:"firstname,omitempty"`
// the id of the user
ID int32 `json:"id,omitempty"`
// the last name of user
Lastname string `json:"lastname,omitempty"`
// the name of the user
// Required: true
Username *string `json:"username"`
}
User An object for user, username is unique swagger:model user
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserCredentials ¶
type UserCredentials struct {
// password
Password strfmt.Password `json:"password,omitempty"`
// username
Username string `json:"username,omitempty"`
}
UserCredentials credentials for logging in to SuperKomputer swagger:model userCredentials
func (*UserCredentials) MarshalBinary ¶
func (m *UserCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserCredentials) UnmarshalBinary ¶
func (m *UserCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation