Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiCreateCredRequest
- type ApiCreateDestinationRequest
- type ApiKey
- func (o *ApiKey) GetCreated() int64
- func (o *ApiKey) GetCreatedOk() (*int64, bool)
- func (o *ApiKey) GetId() string
- func (o *ApiKey) GetIdOk() (*string, bool)
- func (o *ApiKey) GetKey() string
- func (o *ApiKey) GetKeyOk() (*string, bool)
- func (o *ApiKey) GetName() string
- func (o *ApiKey) GetNameOk() (*string, bool)
- func (o *ApiKey) GetUpdated() int64
- func (o *ApiKey) GetUpdatedOk() (*int64, bool)
- func (o ApiKey) MarshalJSON() ([]byte, error)
- func (o *ApiKey) SetCreated(v int64)
- func (o *ApiKey) SetId(v string)
- func (o *ApiKey) SetKey(v string)
- func (o *ApiKey) SetName(v string)
- func (o *ApiKey) SetUpdated(v int64)
- type ApiListApiKeysRequest
- type ApiListDestinationsRequest
- type ApiListGroupsRequest
- type ApiListRolesRequest
- type ApiListSourcesRequest
- type ApiListUsersRequest
- type ApiLoginRequest
- type ApiLogoutRequest
- type ApiSignupRequest
- type ApiStatusRequest
- type ApiVersionRequest
- type ApikeysApiService
- type AuthApiService
- func (a *AuthApiService) Login(ctx _context.Context) ApiLoginRequest
- func (a *AuthApiService) LoginExecute(r ApiLoginRequest) (AuthResponse, *_nethttp.Response, error)
- func (a *AuthApiService) Logout(ctx _context.Context) ApiLogoutRequest
- func (a *AuthApiService) LogoutExecute(r ApiLogoutRequest) (*_nethttp.Response, error)
- func (a *AuthApiService) Signup(ctx _context.Context) ApiSignupRequest
- func (a *AuthApiService) SignupExecute(r ApiSignupRequest) (AuthResponse, *_nethttp.Response, error)
- type AuthResponse
- type BasicAuth
- type Configuration
- type Cred
- type CredsApiService
- type Destination
- func (o *Destination) GetCreated() int64
- func (o *Destination) GetCreatedOk() (*int64, bool)
- func (o *Destination) GetId() string
- func (o *Destination) GetIdOk() (*string, bool)
- func (o *Destination) GetKubernetes() DestinationKubernetes
- func (o *Destination) GetKubernetesOk() (*DestinationKubernetes, bool)
- func (o *Destination) GetName() string
- func (o *Destination) GetNameOk() (*string, bool)
- func (o *Destination) GetUpdated() int64
- func (o *Destination) GetUpdatedOk() (*int64, bool)
- func (o *Destination) HasKubernetes() bool
- func (o Destination) MarshalJSON() ([]byte, error)
- func (o *Destination) SetCreated(v int64)
- func (o *Destination) SetId(v string)
- func (o *Destination) SetKubernetes(v DestinationKubernetes)
- func (o *Destination) SetName(v string)
- func (o *Destination) SetUpdated(v int64)
- type DestinationCreateRequest
- func (o *DestinationCreateRequest) GetKubernetes() DestinationKubernetes
- func (o *DestinationCreateRequest) GetKubernetesOk() (*DestinationKubernetes, bool)
- func (o *DestinationCreateRequest) GetName() string
- func (o *DestinationCreateRequest) GetNameOk() (*string, bool)
- func (o *DestinationCreateRequest) HasKubernetes() bool
- func (o DestinationCreateRequest) MarshalJSON() ([]byte, error)
- func (o *DestinationCreateRequest) SetKubernetes(v DestinationKubernetes)
- func (o *DestinationCreateRequest) SetName(v string)
- type DestinationKubernetes
- func (o *DestinationKubernetes) GetCa() string
- func (o *DestinationKubernetes) GetCaOk() (*string, bool)
- func (o *DestinationKubernetes) GetEndpoint() string
- func (o *DestinationKubernetes) GetEndpointOk() (*string, bool)
- func (o *DestinationKubernetes) GetNamespace() string
- func (o *DestinationKubernetes) GetNamespaceOk() (*string, bool)
- func (o *DestinationKubernetes) GetSaToken() string
- func (o *DestinationKubernetes) GetSaTokenOk() (*string, bool)
- func (o DestinationKubernetes) MarshalJSON() ([]byte, error)
- func (o *DestinationKubernetes) SetCa(v string)
- func (o *DestinationKubernetes) SetEndpoint(v string)
- func (o *DestinationKubernetes) SetNamespace(v string)
- func (o *DestinationKubernetes) SetSaToken(v string)
- type DestinationsApiService
- func (a *DestinationsApiService) CreateDestination(ctx _context.Context) ApiCreateDestinationRequest
- func (a *DestinationsApiService) CreateDestinationExecute(r ApiCreateDestinationRequest) (Destination, *_nethttp.Response, error)
- func (a *DestinationsApiService) ListDestinations(ctx _context.Context) ApiListDestinationsRequest
- func (a *DestinationsApiService) ListDestinationsExecute(r ApiListDestinationsRequest) ([]Destination, *_nethttp.Response, error)
- type Error
- type GenericOpenAPIError
- type Group
- func (o *Group) GetCreated() int64
- func (o *Group) GetCreatedOk() (*int64, bool)
- func (o *Group) GetId() string
- func (o *Group) GetIdOk() (*string, bool)
- func (o *Group) GetName() string
- func (o *Group) GetNameOk() (*string, bool)
- func (o *Group) GetSource() string
- func (o *Group) GetSourceOk() (*string, bool)
- func (o *Group) GetUpdated() int64
- func (o *Group) GetUpdatedOk() (*int64, bool)
- func (o Group) MarshalJSON() ([]byte, error)
- func (o *Group) SetCreated(v int64)
- func (o *Group) SetId(v string)
- func (o *Group) SetName(v string)
- func (o *Group) SetSource(v string)
- func (o *Group) SetUpdated(v int64)
- type GroupsApiService
- type InfoApiService
- func (a *InfoApiService) Status(ctx _context.Context) ApiStatusRequest
- func (a *InfoApiService) StatusExecute(r ApiStatusRequest) (Status, *_nethttp.Response, error)
- func (a *InfoApiService) Version(ctx _context.Context) ApiVersionRequest
- func (a *InfoApiService) VersionExecute(r ApiVersionRequest) (Version, *_nethttp.Response, error)
- type LoginRequest
- func (o *LoginRequest) GetInfra() LoginRequestInfra
- func (o *LoginRequest) GetInfraOk() (*LoginRequestInfra, bool)
- func (o *LoginRequest) GetOkta() LoginRequestOkta
- func (o *LoginRequest) GetOktaOk() (*LoginRequestOkta, bool)
- func (o *LoginRequest) HasInfra() bool
- func (o *LoginRequest) HasOkta() bool
- func (o LoginRequest) MarshalJSON() ([]byte, error)
- func (o *LoginRequest) SetInfra(v LoginRequestInfra)
- func (o *LoginRequest) SetOkta(v LoginRequestOkta)
- type LoginRequestInfra
- func (o *LoginRequestInfra) GetEmail() string
- func (o *LoginRequestInfra) GetEmailOk() (*string, bool)
- func (o *LoginRequestInfra) GetPassword() string
- func (o *LoginRequestInfra) GetPasswordOk() (*string, bool)
- func (o LoginRequestInfra) MarshalJSON() ([]byte, error)
- func (o *LoginRequestInfra) SetEmail(v string)
- func (o *LoginRequestInfra) SetPassword(v string)
- type LoginRequestOkta
- func (o *LoginRequestOkta) GetCode() string
- func (o *LoginRequestOkta) GetCodeOk() (*string, bool)
- func (o *LoginRequestOkta) GetDomain() string
- func (o *LoginRequestOkta) GetDomainOk() (*string, bool)
- func (o LoginRequestOkta) MarshalJSON() ([]byte, error)
- func (o *LoginRequestOkta) SetCode(v string)
- func (o *LoginRequestOkta) SetDomain(v string)
- type NullableApiKey
- type NullableAuthResponse
- func (v NullableAuthResponse) Get() *AuthResponse
- func (v NullableAuthResponse) IsSet() bool
- func (v NullableAuthResponse) MarshalJSON() ([]byte, error)
- func (v *NullableAuthResponse) Set(val *AuthResponse)
- func (v *NullableAuthResponse) UnmarshalJSON(src []byte) error
- func (v *NullableAuthResponse) Unset()
- type NullableBool
- type NullableCred
- type NullableDestination
- func (v NullableDestination) Get() *Destination
- func (v NullableDestination) IsSet() bool
- func (v NullableDestination) MarshalJSON() ([]byte, error)
- func (v *NullableDestination) Set(val *Destination)
- func (v *NullableDestination) UnmarshalJSON(src []byte) error
- func (v *NullableDestination) Unset()
- type NullableDestinationCreateRequest
- func (v NullableDestinationCreateRequest) Get() *DestinationCreateRequest
- func (v NullableDestinationCreateRequest) IsSet() bool
- func (v NullableDestinationCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableDestinationCreateRequest) Set(val *DestinationCreateRequest)
- func (v *NullableDestinationCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableDestinationCreateRequest) Unset()
- type NullableDestinationKubernetes
- func (v NullableDestinationKubernetes) Get() *DestinationKubernetes
- func (v NullableDestinationKubernetes) IsSet() bool
- func (v NullableDestinationKubernetes) MarshalJSON() ([]byte, error)
- func (v *NullableDestinationKubernetes) Set(val *DestinationKubernetes)
- func (v *NullableDestinationKubernetes) UnmarshalJSON(src []byte) error
- func (v *NullableDestinationKubernetes) Unset()
- type NullableError
- type NullableFloat32
- type NullableFloat64
- type NullableGroup
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLoginRequest
- func (v NullableLoginRequest) Get() *LoginRequest
- func (v NullableLoginRequest) IsSet() bool
- func (v NullableLoginRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLoginRequest) Set(val *LoginRequest)
- func (v *NullableLoginRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLoginRequest) Unset()
- type NullableLoginRequestInfra
- func (v NullableLoginRequestInfra) Get() *LoginRequestInfra
- func (v NullableLoginRequestInfra) IsSet() bool
- func (v NullableLoginRequestInfra) MarshalJSON() ([]byte, error)
- func (v *NullableLoginRequestInfra) Set(val *LoginRequestInfra)
- func (v *NullableLoginRequestInfra) UnmarshalJSON(src []byte) error
- func (v *NullableLoginRequestInfra) Unset()
- type NullableLoginRequestOkta
- func (v NullableLoginRequestOkta) Get() *LoginRequestOkta
- func (v NullableLoginRequestOkta) IsSet() bool
- func (v NullableLoginRequestOkta) MarshalJSON() ([]byte, error)
- func (v *NullableLoginRequestOkta) Set(val *LoginRequestOkta)
- func (v *NullableLoginRequestOkta) UnmarshalJSON(src []byte) error
- func (v *NullableLoginRequestOkta) Unset()
- type NullableRole
- type NullableRoleKind
- type NullableSignupRequest
- func (v NullableSignupRequest) Get() *SignupRequest
- func (v NullableSignupRequest) IsSet() bool
- func (v NullableSignupRequest) MarshalJSON() ([]byte, error)
- func (v *NullableSignupRequest) Set(val *SignupRequest)
- func (v *NullableSignupRequest) UnmarshalJSON(src []byte) error
- func (v *NullableSignupRequest) Unset()
- type NullableSource
- type NullableSourceOkta
- type NullableStatus
- type NullableString
- type NullableTime
- type NullableUser
- type NullableVersion
- type Role
- func (o *Role) GetCreated() int64
- func (o *Role) GetCreatedOk() (*int64, bool)
- func (o *Role) GetDestination() Destination
- func (o *Role) GetDestinationOk() (*Destination, bool)
- func (o *Role) GetId() string
- func (o *Role) GetIdOk() (*string, bool)
- func (o *Role) GetKind() RoleKind
- func (o *Role) GetKindOk() (*RoleKind, bool)
- func (o *Role) GetName() string
- func (o *Role) GetNameOk() (*string, bool)
- func (o *Role) GetUpdated() int64
- func (o *Role) GetUpdatedOk() (*int64, bool)
- func (o *Role) GetUsers() []User
- func (o *Role) GetUsersOk() (*[]User, bool)
- func (o Role) MarshalJSON() ([]byte, error)
- func (o *Role) SetCreated(v int64)
- func (o *Role) SetDestination(v Destination)
- func (o *Role) SetId(v string)
- func (o *Role) SetKind(v RoleKind)
- func (o *Role) SetName(v string)
- func (o *Role) SetUpdated(v int64)
- func (o *Role) SetUsers(v []User)
- type RoleKind
- type RolesApiService
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SignupRequest
- func (o *SignupRequest) GetEmail() string
- func (o *SignupRequest) GetEmailOk() (*string, bool)
- func (o *SignupRequest) GetPassword() string
- func (o *SignupRequest) GetPasswordOk() (*string, bool)
- func (o SignupRequest) MarshalJSON() ([]byte, error)
- func (o *SignupRequest) SetEmail(v string)
- func (o *SignupRequest) SetPassword(v string)
- type Source
- func (o *Source) GetCreated() int64
- func (o *Source) GetCreatedOk() (*int64, bool)
- func (o *Source) GetId() string
- func (o *Source) GetIdOk() (*string, bool)
- func (o *Source) GetOkta() SourceOkta
- func (o *Source) GetOktaOk() (*SourceOkta, bool)
- func (o *Source) GetUpdated() int64
- func (o *Source) GetUpdatedOk() (*int64, bool)
- func (o *Source) HasOkta() bool
- func (o Source) MarshalJSON() ([]byte, error)
- func (o *Source) SetCreated(v int64)
- func (o *Source) SetId(v string)
- func (o *Source) SetOkta(v SourceOkta)
- func (o *Source) SetUpdated(v int64)
- type SourceOkta
- func (o *SourceOkta) GetClientId() string
- func (o *SourceOkta) GetClientIdOk() (*string, bool)
- func (o *SourceOkta) GetDomain() string
- func (o *SourceOkta) GetDomainOk() (*string, bool)
- func (o SourceOkta) MarshalJSON() ([]byte, error)
- func (o *SourceOkta) SetClientId(v string)
- func (o *SourceOkta) SetDomain(v string)
- type SourcesApiService
- type Status
- type User
- func (o *User) GetAdmin() bool
- func (o *User) GetAdminOk() (*bool, bool)
- func (o *User) GetCreated() int64
- func (o *User) GetCreatedOk() (*int64, bool)
- func (o *User) GetEmail() string
- func (o *User) GetEmailOk() (*string, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetUpdated() int64
- func (o *User) GetUpdatedOk() (*int64, bool)
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetAdmin(v bool)
- func (o *User) SetCreated(v int64)
- func (o *User) SetEmail(v string)
- func (o *User) SetId(v string)
- func (o *User) SetUpdated(v int64)
- type UsersApiService
- type Version
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { ApikeysApi *ApikeysApiService AuthApi *AuthApiService CredsApi *CredsApiService DestinationsApi *DestinationsApiService GroupsApi *GroupsApiService InfoApi *InfoApiService RolesApi *RolesApiService SourcesApi *SourcesApiService UsersApi *UsersApiService // contains filtered or unexported fields }
APIClient manages communication with the Infra API API v0.1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateCredRequest ¶
type ApiCreateCredRequest struct { ApiService *CredsApiService // contains filtered or unexported fields }
type ApiCreateDestinationRequest ¶
type ApiCreateDestinationRequest struct { ApiService *DestinationsApiService // contains filtered or unexported fields }
func (ApiCreateDestinationRequest) Body ¶
func (r ApiCreateDestinationRequest) Body(body DestinationCreateRequest) ApiCreateDestinationRequest
func (ApiCreateDestinationRequest) Execute ¶
func (r ApiCreateDestinationRequest) Execute() (Destination, *_nethttp.Response, error)
type ApiKey ¶
type ApiKey struct { Id string `json:"id"` Created int64 `json:"created"` Updated int64 `json:"updated"` Name string `json:"name"` Key string `json:"key"` }
ApiKey struct for ApiKey
func NewApiKey ¶
NewApiKey instantiates a new ApiKey object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewApiKeyWithDefaults ¶
func NewApiKeyWithDefaults() *ApiKey
NewApiKeyWithDefaults instantiates a new ApiKey object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ApiKey) GetCreated ¶
GetCreated returns the Created field value
func (*ApiKey) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*ApiKey) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ApiKey) GetKeyOk ¶
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*ApiKey) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ApiKey) GetUpdated ¶
GetUpdated returns the Updated field value
func (*ApiKey) GetUpdatedOk ¶
GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.
func (ApiKey) MarshalJSON ¶
type ApiListApiKeysRequest ¶
type ApiListApiKeysRequest struct { ApiService *ApikeysApiService // contains filtered or unexported fields }
type ApiListDestinationsRequest ¶
type ApiListDestinationsRequest struct { ApiService *DestinationsApiService // contains filtered or unexported fields }
func (ApiListDestinationsRequest) Execute ¶
func (r ApiListDestinationsRequest) Execute() ([]Destination, *_nethttp.Response, error)
type ApiListGroupsRequest ¶
type ApiListGroupsRequest struct { ApiService *GroupsApiService // contains filtered or unexported fields }
type ApiListRolesRequest ¶
type ApiListRolesRequest struct { ApiService *RolesApiService // contains filtered or unexported fields }
func (ApiListRolesRequest) DestinationId ¶
func (r ApiListRolesRequest) DestinationId(destinationId string) ApiListRolesRequest
ID of the destination for which to list roles
type ApiListSourcesRequest ¶
type ApiListSourcesRequest struct { ApiService *SourcesApiService // contains filtered or unexported fields }
type ApiListUsersRequest ¶
type ApiListUsersRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiLoginRequest ¶
type ApiLoginRequest struct { ApiService *AuthApiService // contains filtered or unexported fields }
func (ApiLoginRequest) Body ¶
func (r ApiLoginRequest) Body(body LoginRequest) ApiLoginRequest
func (ApiLoginRequest) Execute ¶
func (r ApiLoginRequest) Execute() (AuthResponse, *_nethttp.Response, error)
type ApiLogoutRequest ¶
type ApiLogoutRequest struct { ApiService *AuthApiService // contains filtered or unexported fields }
type ApiSignupRequest ¶
type ApiSignupRequest struct { ApiService *AuthApiService // contains filtered or unexported fields }
func (ApiSignupRequest) Body ¶
func (r ApiSignupRequest) Body(body SignupRequest) ApiSignupRequest
func (ApiSignupRequest) Execute ¶
func (r ApiSignupRequest) Execute() (AuthResponse, *_nethttp.Response, error)
type ApiStatusRequest ¶
type ApiStatusRequest struct { ApiService *InfoApiService // contains filtered or unexported fields }
type ApiVersionRequest ¶
type ApiVersionRequest struct { ApiService *InfoApiService // contains filtered or unexported fields }
type ApikeysApiService ¶
type ApikeysApiService service
ApikeysApiService ApikeysApi service
func (*ApikeysApiService) ListApiKeys ¶
func (a *ApikeysApiService) ListApiKeys(ctx _context.Context) ApiListApiKeysRequest
ListApiKeys Get Engine API Keys
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListApiKeysRequest
func (*ApikeysApiService) ListApiKeysExecute ¶
func (a *ApikeysApiService) ListApiKeysExecute(r ApiListApiKeysRequest) ([]ApiKey, *_nethttp.Response, error)
Execute executes the request
@return []ApiKey
type AuthApiService ¶
type AuthApiService service
AuthApiService AuthApi service
func (*AuthApiService) Login ¶
func (a *AuthApiService) Login(ctx _context.Context) ApiLoginRequest
Login Log in to Infra and get an API token for a user
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLoginRequest
func (*AuthApiService) LoginExecute ¶
func (a *AuthApiService) LoginExecute(r ApiLoginRequest) (AuthResponse, *_nethttp.Response, error)
Execute executes the request
@return AuthResponse
func (*AuthApiService) Logout ¶
func (a *AuthApiService) Logout(ctx _context.Context) ApiLogoutRequest
Logout Log out of Infra
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiLogoutRequest
func (*AuthApiService) LogoutExecute ¶
func (a *AuthApiService) LogoutExecute(r ApiLogoutRequest) (*_nethttp.Response, error)
Execute executes the request
func (*AuthApiService) Signup ¶
func (a *AuthApiService) Signup(ctx _context.Context) ApiSignupRequest
Signup Sign up Infra's admin user and get an API token for a user
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiSignupRequest
func (*AuthApiService) SignupExecute ¶
func (a *AuthApiService) SignupExecute(r ApiSignupRequest) (AuthResponse, *_nethttp.Response, error)
Execute executes the request
@return AuthResponse
type AuthResponse ¶
type AuthResponse struct {
Token string `json:"token"`
}
AuthResponse struct for AuthResponse
func NewAuthResponse ¶
func NewAuthResponse(token string) *AuthResponse
NewAuthResponse instantiates a new AuthResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAuthResponseWithDefaults ¶
func NewAuthResponseWithDefaults() *AuthResponse
NewAuthResponseWithDefaults instantiates a new AuthResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AuthResponse) GetToken ¶
func (o *AuthResponse) GetToken() string
GetToken returns the Token field value
func (*AuthResponse) GetTokenOk ¶
func (o *AuthResponse) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (AuthResponse) MarshalJSON ¶
func (o AuthResponse) MarshalJSON() ([]byte, error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type Cred ¶
Cred struct for Cred
func NewCred ¶
NewCred instantiates a new Cred object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCredWithDefaults ¶
func NewCredWithDefaults() *Cred
NewCredWithDefaults instantiates a new Cred object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Cred) GetExpires ¶
GetExpires returns the Expires field value
func (*Cred) GetExpiresOk ¶
GetExpiresOk returns a tuple with the Expires field value and a boolean to check if the value has been set.
func (*Cred) GetTokenOk ¶
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (Cred) MarshalJSON ¶
type CredsApiService ¶
type CredsApiService service
CredsApiService CredsApi service
func (*CredsApiService) CreateCred ¶
func (a *CredsApiService) CreateCred(ctx _context.Context) ApiCreateCredRequest
CreateCred Create credentials to access a destination
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCredRequest
func (*CredsApiService) CreateCredExecute ¶
func (a *CredsApiService) CreateCredExecute(r ApiCreateCredRequest) (Cred, *_nethttp.Response, error)
Execute executes the request
@return Cred
type Destination ¶
type Destination struct { Id string `json:"id"` Name string `json:"name"` Created int64 `json:"created"` Updated int64 `json:"updated"` Kubernetes *DestinationKubernetes `json:"kubernetes,omitempty"` }
Destination struct for Destination
func NewDestination ¶
func NewDestination(id string, name string, created int64, updated int64) *Destination
NewDestination instantiates a new Destination object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDestinationWithDefaults ¶
func NewDestinationWithDefaults() *Destination
NewDestinationWithDefaults instantiates a new Destination object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Destination) GetCreated ¶
func (o *Destination) GetCreated() int64
GetCreated returns the Created field value
func (*Destination) GetCreatedOk ¶
func (o *Destination) GetCreatedOk() (*int64, bool)
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*Destination) GetIdOk ¶
func (o *Destination) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Destination) GetKubernetes ¶
func (o *Destination) GetKubernetes() DestinationKubernetes
GetKubernetes returns the Kubernetes field value if set, zero value otherwise.
func (*Destination) GetKubernetesOk ¶
func (o *Destination) GetKubernetesOk() (*DestinationKubernetes, bool)
GetKubernetesOk returns a tuple with the Kubernetes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Destination) GetName ¶
func (o *Destination) GetName() string
GetName returns the Name field value
func (*Destination) GetNameOk ¶
func (o *Destination) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Destination) GetUpdated ¶
func (o *Destination) GetUpdated() int64
GetUpdated returns the Updated field value
func (*Destination) GetUpdatedOk ¶
func (o *Destination) GetUpdatedOk() (*int64, bool)
GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.
func (*Destination) HasKubernetes ¶
func (o *Destination) HasKubernetes() bool
HasKubernetes returns a boolean if a field has been set.
func (Destination) MarshalJSON ¶
func (o Destination) MarshalJSON() ([]byte, error)
func (*Destination) SetCreated ¶
func (o *Destination) SetCreated(v int64)
SetCreated sets field value
func (*Destination) SetKubernetes ¶
func (o *Destination) SetKubernetes(v DestinationKubernetes)
SetKubernetes gets a reference to the given DestinationKubernetes and assigns it to the Kubernetes field.
func (*Destination) SetUpdated ¶
func (o *Destination) SetUpdated(v int64)
SetUpdated sets field value
type DestinationCreateRequest ¶
type DestinationCreateRequest struct { Name string `json:"name"` Kubernetes *DestinationKubernetes `json:"kubernetes,omitempty"` }
DestinationCreateRequest struct for DestinationCreateRequest
func NewDestinationCreateRequest ¶
func NewDestinationCreateRequest(name string) *DestinationCreateRequest
NewDestinationCreateRequest instantiates a new DestinationCreateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDestinationCreateRequestWithDefaults ¶
func NewDestinationCreateRequestWithDefaults() *DestinationCreateRequest
NewDestinationCreateRequestWithDefaults instantiates a new DestinationCreateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DestinationCreateRequest) GetKubernetes ¶
func (o *DestinationCreateRequest) GetKubernetes() DestinationKubernetes
GetKubernetes returns the Kubernetes field value if set, zero value otherwise.
func (*DestinationCreateRequest) GetKubernetesOk ¶
func (o *DestinationCreateRequest) GetKubernetesOk() (*DestinationKubernetes, bool)
GetKubernetesOk returns a tuple with the Kubernetes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DestinationCreateRequest) GetName ¶
func (o *DestinationCreateRequest) GetName() string
GetName returns the Name field value
func (*DestinationCreateRequest) GetNameOk ¶
func (o *DestinationCreateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*DestinationCreateRequest) HasKubernetes ¶
func (o *DestinationCreateRequest) HasKubernetes() bool
HasKubernetes returns a boolean if a field has been set.
func (DestinationCreateRequest) MarshalJSON ¶
func (o DestinationCreateRequest) MarshalJSON() ([]byte, error)
func (*DestinationCreateRequest) SetKubernetes ¶
func (o *DestinationCreateRequest) SetKubernetes(v DestinationKubernetes)
SetKubernetes gets a reference to the given DestinationKubernetes and assigns it to the Kubernetes field.
func (*DestinationCreateRequest) SetName ¶
func (o *DestinationCreateRequest) SetName(v string)
SetName sets field value
type DestinationKubernetes ¶
type DestinationKubernetes struct { Ca string `json:"ca" validate:"required"` Endpoint string `json:"endpoint" validate:"required"` Namespace string `json:"namespace" validate:"required"` SaToken string `json:"saToken" validate:"required"` }
DestinationKubernetes struct for DestinationKubernetes
func NewDestinationKubernetes ¶
func NewDestinationKubernetes(ca string, endpoint string, namespace string, saToken string) *DestinationKubernetes
NewDestinationKubernetes instantiates a new DestinationKubernetes object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDestinationKubernetesWithDefaults ¶
func NewDestinationKubernetesWithDefaults() *DestinationKubernetes
NewDestinationKubernetesWithDefaults instantiates a new DestinationKubernetes object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DestinationKubernetes) GetCa ¶
func (o *DestinationKubernetes) GetCa() string
GetCa returns the Ca field value
func (*DestinationKubernetes) GetCaOk ¶
func (o *DestinationKubernetes) GetCaOk() (*string, bool)
GetCaOk returns a tuple with the Ca field value and a boolean to check if the value has been set.
func (*DestinationKubernetes) GetEndpoint ¶
func (o *DestinationKubernetes) GetEndpoint() string
GetEndpoint returns the Endpoint field value
func (*DestinationKubernetes) GetEndpointOk ¶
func (o *DestinationKubernetes) GetEndpointOk() (*string, bool)
GetEndpointOk returns a tuple with the Endpoint field value and a boolean to check if the value has been set.
func (*DestinationKubernetes) GetNamespace ¶
func (o *DestinationKubernetes) GetNamespace() string
GetNamespace returns the Namespace field value
func (*DestinationKubernetes) GetNamespaceOk ¶
func (o *DestinationKubernetes) GetNamespaceOk() (*string, bool)
GetNamespaceOk returns a tuple with the Namespace field value and a boolean to check if the value has been set.
func (*DestinationKubernetes) GetSaToken ¶
func (o *DestinationKubernetes) GetSaToken() string
GetSaToken returns the SaToken field value
func (*DestinationKubernetes) GetSaTokenOk ¶
func (o *DestinationKubernetes) GetSaTokenOk() (*string, bool)
GetSaTokenOk returns a tuple with the SaToken field value and a boolean to check if the value has been set.
func (DestinationKubernetes) MarshalJSON ¶
func (o DestinationKubernetes) MarshalJSON() ([]byte, error)
func (*DestinationKubernetes) SetCa ¶
func (o *DestinationKubernetes) SetCa(v string)
SetCa sets field value
func (*DestinationKubernetes) SetEndpoint ¶
func (o *DestinationKubernetes) SetEndpoint(v string)
SetEndpoint sets field value
func (*DestinationKubernetes) SetNamespace ¶
func (o *DestinationKubernetes) SetNamespace(v string)
SetNamespace sets field value
func (*DestinationKubernetes) SetSaToken ¶
func (o *DestinationKubernetes) SetSaToken(v string)
SetSaToken sets field value
type DestinationsApiService ¶
type DestinationsApiService service
DestinationsApiService DestinationsApi service
func (*DestinationsApiService) CreateDestination ¶
func (a *DestinationsApiService) CreateDestination(ctx _context.Context) ApiCreateDestinationRequest
CreateDestination Register a destination
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateDestinationRequest
func (*DestinationsApiService) CreateDestinationExecute ¶
func (a *DestinationsApiService) CreateDestinationExecute(r ApiCreateDestinationRequest) (Destination, *_nethttp.Response, error)
Execute executes the request
@return Destination
func (*DestinationsApiService) ListDestinations ¶
func (a *DestinationsApiService) ListDestinations(ctx _context.Context) ApiListDestinationsRequest
ListDestinations List destinations
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListDestinationsRequest
func (*DestinationsApiService) ListDestinationsExecute ¶
func (a *DestinationsApiService) ListDestinationsExecute(r ApiListDestinationsRequest) ([]Destination, *_nethttp.Response, error)
Execute executes the request
@return []Destination
type Error ¶
Error struct for Error
func NewError ¶
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*Error) GetMessage ¶
GetMessage returns the Message field value
func (*Error) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.
func (Error) MarshalJSON ¶
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Group ¶
type Group struct { Id string `json:"id"` Name string `json:"name"` Created int64 `json:"created"` Updated int64 `json:"updated"` Source string `json:"source"` }
Group struct for Group
func NewGroup ¶
NewGroup instantiates a new Group object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewGroupWithDefaults ¶
func NewGroupWithDefaults() *Group
NewGroupWithDefaults instantiates a new Group object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Group) GetCreated ¶
GetCreated returns the Created field value
func (*Group) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*Group) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Group) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Group) GetSourceOk ¶
GetSourceOk returns a tuple with the Source field value and a boolean to check if the value has been set.
func (*Group) GetUpdated ¶
GetUpdated returns the Updated field value
func (*Group) GetUpdatedOk ¶
GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.
func (Group) MarshalJSON ¶
type GroupsApiService ¶
type GroupsApiService service
GroupsApiService GroupsApi service
func (*GroupsApiService) ListGroups ¶
func (a *GroupsApiService) ListGroups(ctx _context.Context) ApiListGroupsRequest
ListGroups List groups
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListGroupsRequest
func (*GroupsApiService) ListGroupsExecute ¶
func (a *GroupsApiService) ListGroupsExecute(r ApiListGroupsRequest) ([]Group, *_nethttp.Response, error)
Execute executes the request
@return []Group
type InfoApiService ¶
type InfoApiService service
InfoApiService InfoApi service
func (*InfoApiService) Status ¶
func (a *InfoApiService) Status(ctx _context.Context) ApiStatusRequest
Status Get signup status information
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiStatusRequest
func (*InfoApiService) StatusExecute ¶
func (a *InfoApiService) StatusExecute(r ApiStatusRequest) (Status, *_nethttp.Response, error)
Execute executes the request
@return Status
func (*InfoApiService) Version ¶
func (a *InfoApiService) Version(ctx _context.Context) ApiVersionRequest
Version Get version information
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiVersionRequest
func (*InfoApiService) VersionExecute ¶
func (a *InfoApiService) VersionExecute(r ApiVersionRequest) (Version, *_nethttp.Response, error)
Execute executes the request
@return Version
type LoginRequest ¶
type LoginRequest struct { Infra *LoginRequestInfra `json:"infra,omitempty"` Okta *LoginRequestOkta `json:"okta,omitempty"` }
LoginRequest struct for LoginRequest
func NewLoginRequest ¶
func NewLoginRequest() *LoginRequest
NewLoginRequest instantiates a new LoginRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginRequestWithDefaults ¶
func NewLoginRequestWithDefaults() *LoginRequest
NewLoginRequestWithDefaults instantiates a new LoginRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginRequest) GetInfra ¶
func (o *LoginRequest) GetInfra() LoginRequestInfra
GetInfra returns the Infra field value if set, zero value otherwise.
func (*LoginRequest) GetInfraOk ¶
func (o *LoginRequest) GetInfraOk() (*LoginRequestInfra, bool)
GetInfraOk returns a tuple with the Infra field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequest) GetOkta ¶
func (o *LoginRequest) GetOkta() LoginRequestOkta
GetOkta returns the Okta field value if set, zero value otherwise.
func (*LoginRequest) GetOktaOk ¶
func (o *LoginRequest) GetOktaOk() (*LoginRequestOkta, bool)
GetOktaOk returns a tuple with the Okta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LoginRequest) HasInfra ¶
func (o *LoginRequest) HasInfra() bool
HasInfra returns a boolean if a field has been set.
func (*LoginRequest) HasOkta ¶
func (o *LoginRequest) HasOkta() bool
HasOkta returns a boolean if a field has been set.
func (LoginRequest) MarshalJSON ¶
func (o LoginRequest) MarshalJSON() ([]byte, error)
func (*LoginRequest) SetInfra ¶
func (o *LoginRequest) SetInfra(v LoginRequestInfra)
SetInfra gets a reference to the given LoginRequestInfra and assigns it to the Infra field.
func (*LoginRequest) SetOkta ¶
func (o *LoginRequest) SetOkta(v LoginRequestOkta)
SetOkta gets a reference to the given LoginRequestOkta and assigns it to the Okta field.
type LoginRequestInfra ¶
type LoginRequestInfra struct { Email string `json:"email" validate:"required,email"` Password string `json:"password" validate:"required"` }
LoginRequestInfra struct for LoginRequestInfra
func NewLoginRequestInfra ¶
func NewLoginRequestInfra(email string, password string) *LoginRequestInfra
NewLoginRequestInfra instantiates a new LoginRequestInfra object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginRequestInfraWithDefaults ¶
func NewLoginRequestInfraWithDefaults() *LoginRequestInfra
NewLoginRequestInfraWithDefaults instantiates a new LoginRequestInfra object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginRequestInfra) GetEmail ¶
func (o *LoginRequestInfra) GetEmail() string
GetEmail returns the Email field value
func (*LoginRequestInfra) GetEmailOk ¶
func (o *LoginRequestInfra) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*LoginRequestInfra) GetPassword ¶
func (o *LoginRequestInfra) GetPassword() string
GetPassword returns the Password field value
func (*LoginRequestInfra) GetPasswordOk ¶
func (o *LoginRequestInfra) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (LoginRequestInfra) MarshalJSON ¶
func (o LoginRequestInfra) MarshalJSON() ([]byte, error)
func (*LoginRequestInfra) SetEmail ¶
func (o *LoginRequestInfra) SetEmail(v string)
SetEmail sets field value
func (*LoginRequestInfra) SetPassword ¶
func (o *LoginRequestInfra) SetPassword(v string)
SetPassword sets field value
type LoginRequestOkta ¶
type LoginRequestOkta struct { Domain string `json:"domain" validate:"required"` Code string `json:"code" validate:"required"` }
LoginRequestOkta struct for LoginRequestOkta
func NewLoginRequestOkta ¶
func NewLoginRequestOkta(domain string, code string) *LoginRequestOkta
NewLoginRequestOkta instantiates a new LoginRequestOkta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLoginRequestOktaWithDefaults ¶
func NewLoginRequestOktaWithDefaults() *LoginRequestOkta
NewLoginRequestOktaWithDefaults instantiates a new LoginRequestOkta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LoginRequestOkta) GetCode ¶
func (o *LoginRequestOkta) GetCode() string
GetCode returns the Code field value
func (*LoginRequestOkta) GetCodeOk ¶
func (o *LoginRequestOkta) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field value and a boolean to check if the value has been set.
func (*LoginRequestOkta) GetDomain ¶
func (o *LoginRequestOkta) GetDomain() string
GetDomain returns the Domain field value
func (*LoginRequestOkta) GetDomainOk ¶
func (o *LoginRequestOkta) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field value and a boolean to check if the value has been set.
func (LoginRequestOkta) MarshalJSON ¶
func (o LoginRequestOkta) MarshalJSON() ([]byte, error)
func (*LoginRequestOkta) SetCode ¶
func (o *LoginRequestOkta) SetCode(v string)
SetCode sets field value
func (*LoginRequestOkta) SetDomain ¶
func (o *LoginRequestOkta) SetDomain(v string)
SetDomain sets field value
type NullableApiKey ¶
type NullableApiKey struct {
// contains filtered or unexported fields
}
func NewNullableApiKey ¶
func NewNullableApiKey(val *ApiKey) *NullableApiKey
func (NullableApiKey) Get ¶
func (v NullableApiKey) Get() *ApiKey
func (NullableApiKey) IsSet ¶
func (v NullableApiKey) IsSet() bool
func (NullableApiKey) MarshalJSON ¶
func (v NullableApiKey) MarshalJSON() ([]byte, error)
func (*NullableApiKey) Set ¶
func (v *NullableApiKey) Set(val *ApiKey)
func (*NullableApiKey) UnmarshalJSON ¶
func (v *NullableApiKey) UnmarshalJSON(src []byte) error
func (*NullableApiKey) Unset ¶
func (v *NullableApiKey) Unset()
type NullableAuthResponse ¶
type NullableAuthResponse struct {
// contains filtered or unexported fields
}
func NewNullableAuthResponse ¶
func NewNullableAuthResponse(val *AuthResponse) *NullableAuthResponse
func (NullableAuthResponse) Get ¶
func (v NullableAuthResponse) Get() *AuthResponse
func (NullableAuthResponse) IsSet ¶
func (v NullableAuthResponse) IsSet() bool
func (NullableAuthResponse) MarshalJSON ¶
func (v NullableAuthResponse) MarshalJSON() ([]byte, error)
func (*NullableAuthResponse) Set ¶
func (v *NullableAuthResponse) Set(val *AuthResponse)
func (*NullableAuthResponse) UnmarshalJSON ¶
func (v *NullableAuthResponse) UnmarshalJSON(src []byte) error
func (*NullableAuthResponse) Unset ¶
func (v *NullableAuthResponse) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCred ¶
type NullableCred struct {
// contains filtered or unexported fields
}
func NewNullableCred ¶
func NewNullableCred(val *Cred) *NullableCred
func (NullableCred) Get ¶
func (v NullableCred) Get() *Cred
func (NullableCred) IsSet ¶
func (v NullableCred) IsSet() bool
func (NullableCred) MarshalJSON ¶
func (v NullableCred) MarshalJSON() ([]byte, error)
func (*NullableCred) Set ¶
func (v *NullableCred) Set(val *Cred)
func (*NullableCred) UnmarshalJSON ¶
func (v *NullableCred) UnmarshalJSON(src []byte) error
func (*NullableCred) Unset ¶
func (v *NullableCred) Unset()
type NullableDestination ¶
type NullableDestination struct {
// contains filtered or unexported fields
}
func NewNullableDestination ¶
func NewNullableDestination(val *Destination) *NullableDestination
func (NullableDestination) Get ¶
func (v NullableDestination) Get() *Destination
func (NullableDestination) IsSet ¶
func (v NullableDestination) IsSet() bool
func (NullableDestination) MarshalJSON ¶
func (v NullableDestination) MarshalJSON() ([]byte, error)
func (*NullableDestination) Set ¶
func (v *NullableDestination) Set(val *Destination)
func (*NullableDestination) UnmarshalJSON ¶
func (v *NullableDestination) UnmarshalJSON(src []byte) error
func (*NullableDestination) Unset ¶
func (v *NullableDestination) Unset()
type NullableDestinationCreateRequest ¶
type NullableDestinationCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableDestinationCreateRequest ¶
func NewNullableDestinationCreateRequest(val *DestinationCreateRequest) *NullableDestinationCreateRequest
func (NullableDestinationCreateRequest) Get ¶
func (v NullableDestinationCreateRequest) Get() *DestinationCreateRequest
func (NullableDestinationCreateRequest) IsSet ¶
func (v NullableDestinationCreateRequest) IsSet() bool
func (NullableDestinationCreateRequest) MarshalJSON ¶
func (v NullableDestinationCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableDestinationCreateRequest) Set ¶
func (v *NullableDestinationCreateRequest) Set(val *DestinationCreateRequest)
func (*NullableDestinationCreateRequest) UnmarshalJSON ¶
func (v *NullableDestinationCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableDestinationCreateRequest) Unset ¶
func (v *NullableDestinationCreateRequest) Unset()
type NullableDestinationKubernetes ¶
type NullableDestinationKubernetes struct {
// contains filtered or unexported fields
}
func NewNullableDestinationKubernetes ¶
func NewNullableDestinationKubernetes(val *DestinationKubernetes) *NullableDestinationKubernetes
func (NullableDestinationKubernetes) Get ¶
func (v NullableDestinationKubernetes) Get() *DestinationKubernetes
func (NullableDestinationKubernetes) IsSet ¶
func (v NullableDestinationKubernetes) IsSet() bool
func (NullableDestinationKubernetes) MarshalJSON ¶
func (v NullableDestinationKubernetes) MarshalJSON() ([]byte, error)
func (*NullableDestinationKubernetes) Set ¶
func (v *NullableDestinationKubernetes) Set(val *DestinationKubernetes)
func (*NullableDestinationKubernetes) UnmarshalJSON ¶
func (v *NullableDestinationKubernetes) UnmarshalJSON(src []byte) error
func (*NullableDestinationKubernetes) Unset ¶
func (v *NullableDestinationKubernetes) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGroup ¶
type NullableGroup struct {
// contains filtered or unexported fields
}
func NewNullableGroup ¶
func NewNullableGroup(val *Group) *NullableGroup
func (NullableGroup) Get ¶
func (v NullableGroup) Get() *Group
func (NullableGroup) IsSet ¶
func (v NullableGroup) IsSet() bool
func (NullableGroup) MarshalJSON ¶
func (v NullableGroup) MarshalJSON() ([]byte, error)
func (*NullableGroup) Set ¶
func (v *NullableGroup) Set(val *Group)
func (*NullableGroup) UnmarshalJSON ¶
func (v *NullableGroup) UnmarshalJSON(src []byte) error
func (*NullableGroup) Unset ¶
func (v *NullableGroup) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLoginRequest ¶
type NullableLoginRequest struct {
// contains filtered or unexported fields
}
func NewNullableLoginRequest ¶
func NewNullableLoginRequest(val *LoginRequest) *NullableLoginRequest
func (NullableLoginRequest) Get ¶
func (v NullableLoginRequest) Get() *LoginRequest
func (NullableLoginRequest) IsSet ¶
func (v NullableLoginRequest) IsSet() bool
func (NullableLoginRequest) MarshalJSON ¶
func (v NullableLoginRequest) MarshalJSON() ([]byte, error)
func (*NullableLoginRequest) Set ¶
func (v *NullableLoginRequest) Set(val *LoginRequest)
func (*NullableLoginRequest) UnmarshalJSON ¶
func (v *NullableLoginRequest) UnmarshalJSON(src []byte) error
func (*NullableLoginRequest) Unset ¶
func (v *NullableLoginRequest) Unset()
type NullableLoginRequestInfra ¶
type NullableLoginRequestInfra struct {
// contains filtered or unexported fields
}
func NewNullableLoginRequestInfra ¶
func NewNullableLoginRequestInfra(val *LoginRequestInfra) *NullableLoginRequestInfra
func (NullableLoginRequestInfra) Get ¶
func (v NullableLoginRequestInfra) Get() *LoginRequestInfra
func (NullableLoginRequestInfra) IsSet ¶
func (v NullableLoginRequestInfra) IsSet() bool
func (NullableLoginRequestInfra) MarshalJSON ¶
func (v NullableLoginRequestInfra) MarshalJSON() ([]byte, error)
func (*NullableLoginRequestInfra) Set ¶
func (v *NullableLoginRequestInfra) Set(val *LoginRequestInfra)
func (*NullableLoginRequestInfra) UnmarshalJSON ¶
func (v *NullableLoginRequestInfra) UnmarshalJSON(src []byte) error
func (*NullableLoginRequestInfra) Unset ¶
func (v *NullableLoginRequestInfra) Unset()
type NullableLoginRequestOkta ¶
type NullableLoginRequestOkta struct {
// contains filtered or unexported fields
}
func NewNullableLoginRequestOkta ¶
func NewNullableLoginRequestOkta(val *LoginRequestOkta) *NullableLoginRequestOkta
func (NullableLoginRequestOkta) Get ¶
func (v NullableLoginRequestOkta) Get() *LoginRequestOkta
func (NullableLoginRequestOkta) IsSet ¶
func (v NullableLoginRequestOkta) IsSet() bool
func (NullableLoginRequestOkta) MarshalJSON ¶
func (v NullableLoginRequestOkta) MarshalJSON() ([]byte, error)
func (*NullableLoginRequestOkta) Set ¶
func (v *NullableLoginRequestOkta) Set(val *LoginRequestOkta)
func (*NullableLoginRequestOkta) UnmarshalJSON ¶
func (v *NullableLoginRequestOkta) UnmarshalJSON(src []byte) error
func (*NullableLoginRequestOkta) Unset ¶
func (v *NullableLoginRequestOkta) Unset()
type NullableRole ¶
type NullableRole struct {
// contains filtered or unexported fields
}
func NewNullableRole ¶
func NewNullableRole(val *Role) *NullableRole
func (NullableRole) Get ¶
func (v NullableRole) Get() *Role
func (NullableRole) IsSet ¶
func (v NullableRole) IsSet() bool
func (NullableRole) MarshalJSON ¶
func (v NullableRole) MarshalJSON() ([]byte, error)
func (*NullableRole) Set ¶
func (v *NullableRole) Set(val *Role)
func (*NullableRole) UnmarshalJSON ¶
func (v *NullableRole) UnmarshalJSON(src []byte) error
func (*NullableRole) Unset ¶
func (v *NullableRole) Unset()
type NullableRoleKind ¶
type NullableRoleKind struct {
// contains filtered or unexported fields
}
func NewNullableRoleKind ¶
func NewNullableRoleKind(val *RoleKind) *NullableRoleKind
func (NullableRoleKind) Get ¶
func (v NullableRoleKind) Get() *RoleKind
func (NullableRoleKind) IsSet ¶
func (v NullableRoleKind) IsSet() bool
func (NullableRoleKind) MarshalJSON ¶
func (v NullableRoleKind) MarshalJSON() ([]byte, error)
func (*NullableRoleKind) Set ¶
func (v *NullableRoleKind) Set(val *RoleKind)
func (*NullableRoleKind) UnmarshalJSON ¶
func (v *NullableRoleKind) UnmarshalJSON(src []byte) error
func (*NullableRoleKind) Unset ¶
func (v *NullableRoleKind) Unset()
type NullableSignupRequest ¶
type NullableSignupRequest struct {
// contains filtered or unexported fields
}
func NewNullableSignupRequest ¶
func NewNullableSignupRequest(val *SignupRequest) *NullableSignupRequest
func (NullableSignupRequest) Get ¶
func (v NullableSignupRequest) Get() *SignupRequest
func (NullableSignupRequest) IsSet ¶
func (v NullableSignupRequest) IsSet() bool
func (NullableSignupRequest) MarshalJSON ¶
func (v NullableSignupRequest) MarshalJSON() ([]byte, error)
func (*NullableSignupRequest) Set ¶
func (v *NullableSignupRequest) Set(val *SignupRequest)
func (*NullableSignupRequest) UnmarshalJSON ¶
func (v *NullableSignupRequest) UnmarshalJSON(src []byte) error
func (*NullableSignupRequest) Unset ¶
func (v *NullableSignupRequest) Unset()
type NullableSource ¶
type NullableSource struct {
// contains filtered or unexported fields
}
func NewNullableSource ¶
func NewNullableSource(val *Source) *NullableSource
func (NullableSource) Get ¶
func (v NullableSource) Get() *Source
func (NullableSource) IsSet ¶
func (v NullableSource) IsSet() bool
func (NullableSource) MarshalJSON ¶
func (v NullableSource) MarshalJSON() ([]byte, error)
func (*NullableSource) Set ¶
func (v *NullableSource) Set(val *Source)
func (*NullableSource) UnmarshalJSON ¶
func (v *NullableSource) UnmarshalJSON(src []byte) error
func (*NullableSource) Unset ¶
func (v *NullableSource) Unset()
type NullableSourceOkta ¶
type NullableSourceOkta struct {
// contains filtered or unexported fields
}
func NewNullableSourceOkta ¶
func NewNullableSourceOkta(val *SourceOkta) *NullableSourceOkta
func (NullableSourceOkta) Get ¶
func (v NullableSourceOkta) Get() *SourceOkta
func (NullableSourceOkta) IsSet ¶
func (v NullableSourceOkta) IsSet() bool
func (NullableSourceOkta) MarshalJSON ¶
func (v NullableSourceOkta) MarshalJSON() ([]byte, error)
func (*NullableSourceOkta) Set ¶
func (v *NullableSourceOkta) Set(val *SourceOkta)
func (*NullableSourceOkta) UnmarshalJSON ¶
func (v *NullableSourceOkta) UnmarshalJSON(src []byte) error
func (*NullableSourceOkta) Unset ¶
func (v *NullableSourceOkta) Unset()
type NullableStatus ¶
type NullableStatus struct {
// contains filtered or unexported fields
}
func NewNullableStatus ¶
func NewNullableStatus(val *Status) *NullableStatus
func (NullableStatus) Get ¶
func (v NullableStatus) Get() *Status
func (NullableStatus) IsSet ¶
func (v NullableStatus) IsSet() bool
func (NullableStatus) MarshalJSON ¶
func (v NullableStatus) MarshalJSON() ([]byte, error)
func (*NullableStatus) Set ¶
func (v *NullableStatus) Set(val *Status)
func (*NullableStatus) UnmarshalJSON ¶
func (v *NullableStatus) UnmarshalJSON(src []byte) error
func (*NullableStatus) Unset ¶
func (v *NullableStatus) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableVersion ¶
type NullableVersion struct {
// contains filtered or unexported fields
}
func NewNullableVersion ¶
func NewNullableVersion(val *Version) *NullableVersion
func (NullableVersion) Get ¶
func (v NullableVersion) Get() *Version
func (NullableVersion) IsSet ¶
func (v NullableVersion) IsSet() bool
func (NullableVersion) MarshalJSON ¶
func (v NullableVersion) MarshalJSON() ([]byte, error)
func (*NullableVersion) Set ¶
func (v *NullableVersion) Set(val *Version)
func (*NullableVersion) UnmarshalJSON ¶
func (v *NullableVersion) UnmarshalJSON(src []byte) error
func (*NullableVersion) Unset ¶
func (v *NullableVersion) Unset()
type Role ¶
type Role struct { Id string `json:"id"` Name string `json:"name"` Created int64 `json:"created"` Updated int64 `json:"updated"` Users []User `json:"users"` Destination Destination `json:"destination"` Kind RoleKind `json:"kind"` }
Role struct for Role
func NewRole ¶
func NewRole(id string, name string, created int64, updated int64, users []User, destination Destination, kind RoleKind) *Role
NewRole instantiates a new Role object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRoleWithDefaults ¶
func NewRoleWithDefaults() *Role
NewRoleWithDefaults instantiates a new Role object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Role) GetCreated ¶
GetCreated returns the Created field value
func (*Role) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*Role) GetDestination ¶
func (o *Role) GetDestination() Destination
GetDestination returns the Destination field value
func (*Role) GetDestinationOk ¶
func (o *Role) GetDestinationOk() (*Destination, bool)
GetDestinationOk returns a tuple with the Destination field value and a boolean to check if the value has been set.
func (*Role) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Role) GetKindOk ¶
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*Role) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Role) GetUpdated ¶
GetUpdated returns the Updated field value
func (*Role) GetUpdatedOk ¶
GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.
func (*Role) GetUsersOk ¶
GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.
func (Role) MarshalJSON ¶
func (*Role) SetDestination ¶
func (o *Role) SetDestination(v Destination)
SetDestination sets field value
type RoleKind ¶
type RoleKind string
RoleKind the model 'RoleKind'
func NewRoleKindFromValue ¶
NewRoleKindFromValue returns a pointer to a valid RoleKind for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*RoleKind) UnmarshalJSON ¶
type RolesApiService ¶
type RolesApiService service
RolesApiService RolesApi service
func (*RolesApiService) ListRoles ¶
func (a *RolesApiService) ListRoles(ctx _context.Context) ApiListRolesRequest
ListRoles List roles
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListRolesRequest
func (*RolesApiService) ListRolesExecute ¶
func (a *RolesApiService) ListRolesExecute(r ApiListRolesRequest) ([]Role, *_nethttp.Response, error)
Execute executes the request
@return []Role
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SignupRequest ¶
type SignupRequest struct { Email string `json:"email" validate:"email,required"` Password string `json:"password" validate:"required"` }
SignupRequest struct for SignupRequest
func NewSignupRequest ¶
func NewSignupRequest(email string, password string) *SignupRequest
NewSignupRequest instantiates a new SignupRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSignupRequestWithDefaults ¶
func NewSignupRequestWithDefaults() *SignupRequest
NewSignupRequestWithDefaults instantiates a new SignupRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SignupRequest) GetEmail ¶
func (o *SignupRequest) GetEmail() string
GetEmail returns the Email field value
func (*SignupRequest) GetEmailOk ¶
func (o *SignupRequest) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*SignupRequest) GetPassword ¶
func (o *SignupRequest) GetPassword() string
GetPassword returns the Password field value
func (*SignupRequest) GetPasswordOk ¶
func (o *SignupRequest) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (SignupRequest) MarshalJSON ¶
func (o SignupRequest) MarshalJSON() ([]byte, error)
func (*SignupRequest) SetEmail ¶
func (o *SignupRequest) SetEmail(v string)
SetEmail sets field value
func (*SignupRequest) SetPassword ¶
func (o *SignupRequest) SetPassword(v string)
SetPassword sets field value
type Source ¶
type Source struct { Id string `json:"id"` Created int64 `json:"created"` Updated int64 `json:"updated"` Okta *SourceOkta `json:"okta,omitempty"` }
Source struct for Source
func NewSource ¶
NewSource instantiates a new Source object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSourceWithDefaults ¶
func NewSourceWithDefaults() *Source
NewSourceWithDefaults instantiates a new Source object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Source) GetCreated ¶
GetCreated returns the Created field value
func (*Source) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*Source) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Source) GetOkta ¶
func (o *Source) GetOkta() SourceOkta
GetOkta returns the Okta field value if set, zero value otherwise.
func (*Source) GetOktaOk ¶
func (o *Source) GetOktaOk() (*SourceOkta, bool)
GetOktaOk returns a tuple with the Okta field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Source) GetUpdated ¶
GetUpdated returns the Updated field value
func (*Source) GetUpdatedOk ¶
GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.
func (Source) MarshalJSON ¶
func (*Source) SetOkta ¶
func (o *Source) SetOkta(v SourceOkta)
SetOkta gets a reference to the given SourceOkta and assigns it to the Okta field.
type SourceOkta ¶
SourceOkta struct for SourceOkta
func NewSourceOkta ¶
func NewSourceOkta(domain string, clientId string) *SourceOkta
NewSourceOkta instantiates a new SourceOkta object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSourceOktaWithDefaults ¶
func NewSourceOktaWithDefaults() *SourceOkta
NewSourceOktaWithDefaults instantiates a new SourceOkta object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SourceOkta) GetClientId ¶
func (o *SourceOkta) GetClientId() string
GetClientId returns the ClientId field value
func (*SourceOkta) GetClientIdOk ¶
func (o *SourceOkta) GetClientIdOk() (*string, bool)
GetClientIdOk returns a tuple with the ClientId field value and a boolean to check if the value has been set.
func (*SourceOkta) GetDomain ¶
func (o *SourceOkta) GetDomain() string
GetDomain returns the Domain field value
func (*SourceOkta) GetDomainOk ¶
func (o *SourceOkta) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field value and a boolean to check if the value has been set.
func (SourceOkta) MarshalJSON ¶
func (o SourceOkta) MarshalJSON() ([]byte, error)
func (*SourceOkta) SetClientId ¶
func (o *SourceOkta) SetClientId(v string)
SetClientId sets field value
type SourcesApiService ¶
type SourcesApiService service
SourcesApiService SourcesApi service
func (*SourcesApiService) ListSources ¶
func (a *SourcesApiService) ListSources(ctx _context.Context) ApiListSourcesRequest
ListSources List sources
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListSourcesRequest
func (*SourcesApiService) ListSourcesExecute ¶
func (a *SourcesApiService) ListSourcesExecute(r ApiListSourcesRequest) ([]Source, *_nethttp.Response, error)
Execute executes the request
@return []Source
type Status ¶
type Status struct {
Admin bool `json:"admin"`
}
Status struct for Status
func NewStatus ¶
NewStatus instantiates a new Status object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStatusWithDefaults ¶
func NewStatusWithDefaults() *Status
NewStatusWithDefaults instantiates a new Status object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Status) GetAdminOk ¶
GetAdminOk returns a tuple with the Admin field value and a boolean to check if the value has been set.
func (Status) MarshalJSON ¶
type User ¶
type User struct { Id string `json:"id"` Email string `json:"email"` Created int64 `json:"created"` Updated int64 `json:"updated"` Admin bool `json:"admin"` }
User struct for User
func NewUser ¶
NewUser instantiates a new User object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*User) GetAdminOk ¶
GetAdminOk returns a tuple with the Admin field value and a boolean to check if the value has been set.
func (*User) GetCreated ¶
GetCreated returns the Created field value
func (*User) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*User) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*User) GetUpdated ¶
GetUpdated returns the Updated field value
func (*User) GetUpdatedOk ¶
GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.
func (User) MarshalJSON ¶
type UsersApiService ¶
type UsersApiService service
UsersApiService UsersApi service
func (*UsersApiService) ListUsers ¶
func (a *UsersApiService) ListUsers(ctx _context.Context) ApiListUsersRequest
ListUsers List users
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListUsersRequest
func (*UsersApiService) ListUsersExecute ¶
func (a *UsersApiService) ListUsersExecute(r ApiListUsersRequest) ([]User, *_nethttp.Response, error)
Execute executes the request
@return []User
type Version ¶
type Version struct {
Version string `json:"version"`
}
Version struct for Version
func NewVersion ¶
NewVersion instantiates a new Version object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewVersionWithDefaults ¶
func NewVersionWithDefaults() *Version
NewVersionWithDefaults instantiates a new Version object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Version) GetVersion ¶
GetVersion returns the Version field value
func (*Version) GetVersionOk ¶
GetVersionOk returns a tuple with the Version field value and a boolean to check if the value has been set.
func (Version) MarshalJSON ¶
Source Files ¶
- api_apikeys.go
- api_auth.go
- api_creds.go
- api_destinations.go
- api_groups.go
- api_info.go
- api_roles.go
- api_sources.go
- api_users.go
- client.go
- configuration.go
- model_api_key.go
- model_auth_response.go
- model_cred.go
- model_destination.go
- model_destination_create_request.go
- model_destination_kubernetes.go
- model_error.go
- model_group.go
- model_login_request.go
- model_login_request_infra.go
- model_login_request_okta.go
- model_role.go
- model_role_kind.go
- model_signup_request.go
- model_source.go
- model_source_okta.go
- model_status.go
- model_user.go
- model_version.go
- response.go
- utils.go