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 ApiListDestinationsRequest
- type ApiListGroupsRequest
- type ApiListRolesRequest
- type ApiListSourcesRequest
- type ApiListUsersRequest
- type ApiLoginRequest
- type ApiLogoutRequest
- type ApiVersionRequest
- type AuthApiService
- func (a *AuthApiService) Login(ctx _context.Context) ApiLoginRequest
- func (a *AuthApiService) LoginExecute(r ApiLoginRequest) (LoginResponse, *_nethttp.Response, error)
- func (a *AuthApiService) Logout(ctx _context.Context) ApiLogoutRequest
- func (a *AuthApiService) LogoutExecute(r ApiLogoutRequest) (*_nethttp.Response, error)
- type BasicAuth
- type Configuration
- type Cred
- type CredRequest
- 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 LoginRequest
- 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 LoginResponse
- func (o *LoginResponse) GetName() string
- func (o *LoginResponse) GetNameOk() (*string, bool)
- func (o *LoginResponse) GetToken() string
- func (o *LoginResponse) GetTokenOk() (*string, bool)
- func (o LoginResponse) MarshalJSON() ([]byte, error)
- func (o *LoginResponse) SetName(v string)
- func (o *LoginResponse) SetToken(v string)
- type NullableBool
- type NullableCred
- type NullableCredRequest
- func (v NullableCredRequest) Get() *CredRequest
- func (v NullableCredRequest) IsSet() bool
- func (v NullableCredRequest) MarshalJSON() ([]byte, error)
- func (v *NullableCredRequest) Set(val *CredRequest)
- func (v *NullableCredRequest) UnmarshalJSON(src []byte) error
- func (v *NullableCredRequest) Unset()
- 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 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 NullableLoginResponse
- func (v NullableLoginResponse) Get() *LoginResponse
- func (v NullableLoginResponse) IsSet() bool
- func (v NullableLoginResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLoginResponse) Set(val *LoginResponse)
- func (v *NullableLoginResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLoginResponse) Unset()
- type NullableRole
- type NullableRoleKind
- type NullableSource
- type NullableSourceOkta
- 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) GetNamespace() string
- func (o *Role) GetNamespaceOk() (*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) SetNamespace(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 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 User
- 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) 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
- type VersionApiService
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 { AuthApi *AuthApiService CredsApi *CredsApiService DestinationsApi *DestinationsApiService GroupsApi *GroupsApiService RolesApi *RolesApiService SourcesApi *SourcesApiService UsersApi *UsersApiService VersionApi *VersionApiService // 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 }
func (ApiCreateCredRequest) Body ¶ added in v0.2.4
func (r ApiCreateCredRequest) Body(body CredRequest) ApiCreateCredRequest
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 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() (LoginResponse, *_nethttp.Response, error)
type ApiLogoutRequest ¶
type ApiLogoutRequest struct { ApiService *AuthApiService // contains filtered or unexported fields }
type ApiVersionRequest ¶
type ApiVersionRequest struct { ApiService *VersionApiService // contains filtered or unexported fields }
type AuthApiService ¶
type AuthApiService service
AuthApiService AuthApi service
func (*AuthApiService) Login ¶
func (a *AuthApiService) Login(ctx _context.Context) ApiLoginRequest
Login Login 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) (LoginResponse, *_nethttp.Response, error)
Execute executes the request
@return LoginResponse
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
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 CredRequest ¶ added in v0.2.4
type CredRequest struct {
Destination *string `json:"destination,omitempty" validate:"required"`
}
CredRequest struct for CredRequest
func NewCredRequest ¶ added in v0.2.4
func NewCredRequest() *CredRequest
NewCredRequest instantiates a new CredRequest 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 NewCredRequestWithDefaults ¶ added in v0.2.4
func NewCredRequestWithDefaults() *CredRequest
NewCredRequestWithDefaults instantiates a new CredRequest 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 (*CredRequest) GetDestination ¶ added in v0.2.4
func (o *CredRequest) GetDestination() string
GetDestination returns the Destination field value if set, zero value otherwise.
func (*CredRequest) GetDestinationOk ¶ added in v0.2.4
func (o *CredRequest) GetDestinationOk() (*string, bool)
GetDestinationOk returns a tuple with the Destination field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CredRequest) HasDestination ¶ added in v0.2.4
func (o *CredRequest) HasDestination() bool
HasDestination returns a boolean if a field has been set.
func (CredRequest) MarshalJSON ¶ added in v0.2.4
func (o CredRequest) MarshalJSON() ([]byte, error)
func (*CredRequest) SetDestination ¶ added in v0.2.4
func (o *CredRequest) SetDestination(v string)
SetDestination gets a reference to the given string and assigns it to the Destination field.
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 LoginRequest ¶
type LoginRequest struct {
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) 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) 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) SetOkta ¶
func (o *LoginRequest) SetOkta(v LoginRequestOkta)
SetOkta gets a reference to the given LoginRequestOkta and assigns it to the Okta field.
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 LoginResponse ¶ added in v0.2.3
LoginResponse struct for LoginResponse
func NewLoginResponse ¶ added in v0.2.3
func NewLoginResponse(token string, name string) *LoginResponse
NewLoginResponse instantiates a new LoginResponse 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 NewLoginResponseWithDefaults ¶ added in v0.2.3
func NewLoginResponseWithDefaults() *LoginResponse
NewLoginResponseWithDefaults instantiates a new LoginResponse 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 (*LoginResponse) GetName ¶ added in v0.2.3
func (o *LoginResponse) GetName() string
GetName returns the Name field value
func (*LoginResponse) GetNameOk ¶ added in v0.2.3
func (o *LoginResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*LoginResponse) GetToken ¶ added in v0.2.3
func (o *LoginResponse) GetToken() string
GetToken returns the Token field value
func (*LoginResponse) GetTokenOk ¶ added in v0.2.3
func (o *LoginResponse) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (LoginResponse) MarshalJSON ¶ added in v0.2.3
func (o LoginResponse) MarshalJSON() ([]byte, error)
func (*LoginResponse) SetName ¶ added in v0.2.3
func (o *LoginResponse) SetName(v string)
SetName sets field value
func (*LoginResponse) SetToken ¶ added in v0.2.3
func (o *LoginResponse) SetToken(v string)
SetToken sets field value
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 NullableCredRequest ¶ added in v0.2.4
type NullableCredRequest struct {
// contains filtered or unexported fields
}
func NewNullableCredRequest ¶ added in v0.2.4
func NewNullableCredRequest(val *CredRequest) *NullableCredRequest
func (NullableCredRequest) Get ¶ added in v0.2.4
func (v NullableCredRequest) Get() *CredRequest
func (NullableCredRequest) IsSet ¶ added in v0.2.4
func (v NullableCredRequest) IsSet() bool
func (NullableCredRequest) MarshalJSON ¶ added in v0.2.4
func (v NullableCredRequest) MarshalJSON() ([]byte, error)
func (*NullableCredRequest) Set ¶ added in v0.2.4
func (v *NullableCredRequest) Set(val *CredRequest)
func (*NullableCredRequest) UnmarshalJSON ¶ added in v0.2.4
func (v *NullableCredRequest) UnmarshalJSON(src []byte) error
func (*NullableCredRequest) Unset ¶ added in v0.2.4
func (v *NullableCredRequest) 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 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 NullableLoginResponse ¶ added in v0.2.3
type NullableLoginResponse struct {
// contains filtered or unexported fields
}
func NewNullableLoginResponse ¶ added in v0.2.3
func NewNullableLoginResponse(val *LoginResponse) *NullableLoginResponse
func (NullableLoginResponse) Get ¶ added in v0.2.3
func (v NullableLoginResponse) Get() *LoginResponse
func (NullableLoginResponse) IsSet ¶ added in v0.2.3
func (v NullableLoginResponse) IsSet() bool
func (NullableLoginResponse) MarshalJSON ¶ added in v0.2.3
func (v NullableLoginResponse) MarshalJSON() ([]byte, error)
func (*NullableLoginResponse) Set ¶ added in v0.2.3
func (v *NullableLoginResponse) Set(val *LoginResponse)
func (*NullableLoginResponse) UnmarshalJSON ¶ added in v0.2.3
func (v *NullableLoginResponse) UnmarshalJSON(src []byte) error
func (*NullableLoginResponse) Unset ¶ added in v0.2.3
func (v *NullableLoginResponse) 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 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 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"` Kind RoleKind `json:"kind"` Namespace string `json:"namespace"` Users []User `json:"users"` Destination Destination `json:"destination"` }
Role struct for Role
func NewRole ¶
func NewRole(id string, name string, created int64, updated int64, kind RoleKind, namespace string, users []User, destination Destination) *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) GetNamespace ¶ added in v0.2.0
GetNamespace returns the Namespace field value
func (*Role) GetNamespaceOk ¶ added in v0.2.0
GetNamespaceOk returns a tuple with the Namespace 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
func (*Role) SetNamespace ¶ added in v0.2.0
SetNamespace 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 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 User ¶
type User struct { Id string `json:"id"` Email string `json:"email"` Created int64 `json:"created"` Updated int64 `json:"updated"` }
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) 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 ¶
type VersionApiService ¶ added in v0.2.0
type VersionApiService service
VersionApiService VersionApi service
func (*VersionApiService) Version ¶ added in v0.2.0
func (a *VersionApiService) 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 (*VersionApiService) VersionExecute ¶ added in v0.2.0
func (a *VersionApiService) VersionExecute(r ApiVersionRequest) (Version, *_nethttp.Response, error)
Execute executes the request
@return Version
Source Files ¶
- api_auth.go
- api_creds.go
- api_destinations.go
- api_groups.go
- api_roles.go
- api_sources.go
- api_users.go
- api_version.go
- client.go
- configuration.go
- model_cred.go
- model_cred_request.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_okta.go
- model_login_response.go
- model_role.go
- model_role_kind.go
- model_source.go
- model_source_okta.go
- model_user.go
- model_version.go
- response.go
- utils.go