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 APICreateAPIKeyRequest
- type APICreateDestinationRequest
- type APICreateTokenRequest
- type APIDeleteAPIKeyRequest
- type APIGetDestinationRequest
- type APIGetGroupRequest
- type APIGetProviderRequest
- type APIGetRoleRequest
- type APIGetUserRequest
- type APIKey
- type APIKeysAPIService
- func (a *APIKeysAPIService) CreateAPIKey(ctx _context.Context) APICreateAPIKeyRequest
- func (a *APIKeysAPIService) CreateAPIKeyExecute(r APICreateAPIKeyRequest) (InfraAPIKeyCreateResponse, *_nethttp.Response, error)
- func (a *APIKeysAPIService) DeleteAPIKey(ctx _context.Context, id string) APIDeleteAPIKeyRequest
- func (a *APIKeysAPIService) DeleteAPIKeyExecute(r APIDeleteAPIKeyRequest) (*_nethttp.Response, error)
- func (a *APIKeysAPIService) ListAPIKeys(ctx _context.Context) APIListAPIKeysRequest
- func (a *APIKeysAPIService) ListAPIKeysExecute(r APIListAPIKeysRequest) ([]InfraAPIKey, *_nethttp.Response, error)
- type APIListAPIKeysRequest
- type APIListDestinationsRequest
- type APIListGroupsRequest
- type APIListProvidersRequest
- type APIListRolesRequest
- type APIListUsersRequest
- type APILoginRequest
- type APILogoutRequest
- type APIResponse
- 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 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) GetKind() DestinationKind
- func (o *Destination) GetKindOk() (*DestinationKind, bool)
- func (o *Destination) GetKubernetes() DestinationKubernetes
- func (o *Destination) GetKubernetesOk() (*DestinationKubernetes, bool)
- func (o *Destination) GetLabels() []string
- func (o *Destination) GetLabelsOk() (*[]string, bool)
- func (o *Destination) GetName() string
- func (o *Destination) GetNameOk() (*string, bool)
- func (o *Destination) GetNodeID() string
- func (o *Destination) GetNodeIDOk() (*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) SetKind(v DestinationKind)
- func (o *Destination) SetKubernetes(v DestinationKubernetes)
- func (o *Destination) SetLabels(v []string)
- func (o *Destination) SetName(v string)
- func (o *Destination) SetNodeID(v string)
- func (o *Destination) SetUpdated(v int64)
- type DestinationCreateRequest
- func (o *DestinationCreateRequest) GetKind() DestinationKind
- func (o *DestinationCreateRequest) GetKindOk() (*DestinationKind, bool)
- func (o *DestinationCreateRequest) GetKubernetes() DestinationKubernetes
- func (o *DestinationCreateRequest) GetKubernetesOk() (*DestinationKubernetes, bool)
- func (o *DestinationCreateRequest) GetLabels() []string
- func (o *DestinationCreateRequest) GetLabelsOk() (*[]string, bool)
- func (o *DestinationCreateRequest) GetName() string
- func (o *DestinationCreateRequest) GetNameOk() (*string, bool)
- func (o *DestinationCreateRequest) GetNodeID() string
- func (o *DestinationCreateRequest) GetNodeIDOk() (*string, bool)
- func (o *DestinationCreateRequest) HasKubernetes() bool
- func (o DestinationCreateRequest) MarshalJSON() ([]byte, error)
- func (o *DestinationCreateRequest) SetKind(v DestinationKind)
- func (o *DestinationCreateRequest) SetKubernetes(v DestinationKubernetes)
- func (o *DestinationCreateRequest) SetLabels(v []string)
- func (o *DestinationCreateRequest) SetName(v string)
- func (o *DestinationCreateRequest) SetNodeID(v string)
- type DestinationKind
- 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) MarshalJSON() ([]byte, error)
- func (o *DestinationKubernetes) SetCa(v string)
- func (o *DestinationKubernetes) SetEndpoint(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) GetDestination(ctx _context.Context, id string) APIGetDestinationRequest
- func (a *DestinationsAPIService) GetDestinationExecute(r APIGetDestinationRequest) (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) GetProviderID() string
- func (o *Group) GetProviderIDOk() (*string, bool)
- func (o *Group) GetRoles() []Role
- func (o *Group) GetRolesOk() (*[]Role, bool)
- func (o *Group) GetUpdated() int64
- func (o *Group) GetUpdatedOk() (*int64, bool)
- func (o *Group) GetUsers() []User
- func (o *Group) GetUsersOk() (*[]User, 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) SetProviderID(v string)
- func (o *Group) SetRoles(v []Role)
- func (o *Group) SetUpdated(v int64)
- func (o *Group) SetUsers(v []User)
- type GroupsAPIService
- func (a *GroupsAPIService) GetGroup(ctx _context.Context, id string) APIGetGroupRequest
- func (a *GroupsAPIService) GetGroupExecute(r APIGetGroupRequest) (Group, *_nethttp.Response, error)
- func (a *GroupsAPIService) ListGroups(ctx _context.Context) APIListGroupsRequest
- func (a *GroupsAPIService) ListGroupsExecute(r APIListGroupsRequest) ([]Group, *_nethttp.Response, error)
- type InfraAPIKey
- func (o *InfraAPIKey) GetCreated() int64
- func (o *InfraAPIKey) GetCreatedOk() (*int64, bool)
- func (o *InfraAPIKey) GetId() string
- func (o *InfraAPIKey) GetIdOk() (*string, bool)
- func (o *InfraAPIKey) GetName() string
- func (o *InfraAPIKey) GetNameOk() (*string, bool)
- func (o *InfraAPIKey) GetPermissions() []InfraAPIPermission
- func (o *InfraAPIKey) GetPermissionsOk() (*[]InfraAPIPermission, bool)
- func (o InfraAPIKey) MarshalJSON() ([]byte, error)
- func (o *InfraAPIKey) SetCreated(v int64)
- func (o *InfraAPIKey) SetId(v string)
- func (o *InfraAPIKey) SetName(v string)
- func (o *InfraAPIKey) SetPermissions(v []InfraAPIPermission)
- type InfraAPIKeyCreateRequest
- func (o *InfraAPIKeyCreateRequest) GetName() string
- func (o *InfraAPIKeyCreateRequest) GetNameOk() (*string, bool)
- func (o *InfraAPIKeyCreateRequest) GetPermissions() []InfraAPIPermission
- func (o *InfraAPIKeyCreateRequest) GetPermissionsOk() (*[]InfraAPIPermission, bool)
- func (o InfraAPIKeyCreateRequest) MarshalJSON() ([]byte, error)
- func (o *InfraAPIKeyCreateRequest) SetName(v string)
- func (o *InfraAPIKeyCreateRequest) SetPermissions(v []InfraAPIPermission)
- type InfraAPIKeyCreateResponse
- func (o *InfraAPIKeyCreateResponse) GetCreated() int64
- func (o *InfraAPIKeyCreateResponse) GetCreatedOk() (*int64, bool)
- func (o *InfraAPIKeyCreateResponse) GetId() string
- func (o *InfraAPIKeyCreateResponse) GetIdOk() (*string, bool)
- func (o *InfraAPIKeyCreateResponse) GetKey() string
- func (o *InfraAPIKeyCreateResponse) GetKeyOk() (*string, bool)
- func (o *InfraAPIKeyCreateResponse) GetName() string
- func (o *InfraAPIKeyCreateResponse) GetNameOk() (*string, bool)
- func (o *InfraAPIKeyCreateResponse) GetPermissions() []InfraAPIPermission
- func (o *InfraAPIKeyCreateResponse) GetPermissionsOk() (*[]InfraAPIPermission, bool)
- func (o InfraAPIKeyCreateResponse) MarshalJSON() ([]byte, error)
- func (o *InfraAPIKeyCreateResponse) SetCreated(v int64)
- func (o *InfraAPIKeyCreateResponse) SetId(v string)
- func (o *InfraAPIKeyCreateResponse) SetKey(v string)
- func (o *InfraAPIKeyCreateResponse) SetName(v string)
- func (o *InfraAPIKeyCreateResponse) SetPermissions(v []InfraAPIPermission)
- type InfraAPIPermission
- 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 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 NullableDestinationKind
- func (v NullableDestinationKind) Get() *DestinationKind
- func (v NullableDestinationKind) IsSet() bool
- func (v NullableDestinationKind) MarshalJSON() ([]byte, error)
- func (v *NullableDestinationKind) Set(val *DestinationKind)
- func (v *NullableDestinationKind) UnmarshalJSON(src []byte) error
- func (v *NullableDestinationKind) 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 NullableInfraAPIKey
- func (v NullableInfraAPIKey) Get() *InfraAPIKey
- func (v NullableInfraAPIKey) IsSet() bool
- func (v NullableInfraAPIKey) MarshalJSON() ([]byte, error)
- func (v *NullableInfraAPIKey) Set(val *InfraAPIKey)
- func (v *NullableInfraAPIKey) UnmarshalJSON(src []byte) error
- func (v *NullableInfraAPIKey) Unset()
- type NullableInfraAPIKeyCreateRequest
- func (v NullableInfraAPIKeyCreateRequest) Get() *InfraAPIKeyCreateRequest
- func (v NullableInfraAPIKeyCreateRequest) IsSet() bool
- func (v NullableInfraAPIKeyCreateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableInfraAPIKeyCreateRequest) Set(val *InfraAPIKeyCreateRequest)
- func (v *NullableInfraAPIKeyCreateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableInfraAPIKeyCreateRequest) Unset()
- type NullableInfraAPIKeyCreateResponse
- func (v NullableInfraAPIKeyCreateResponse) Get() *InfraAPIKeyCreateResponse
- func (v NullableInfraAPIKeyCreateResponse) IsSet() bool
- func (v NullableInfraAPIKeyCreateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableInfraAPIKeyCreateResponse) Set(val *InfraAPIKeyCreateResponse)
- func (v *NullableInfraAPIKeyCreateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableInfraAPIKeyCreateResponse) Unset()
- type NullableInfraAPIPermission
- func (v NullableInfraAPIPermission) Get() *InfraAPIPermission
- func (v NullableInfraAPIPermission) IsSet() bool
- func (v NullableInfraAPIPermission) MarshalJSON() ([]byte, error)
- func (v *NullableInfraAPIPermission) Set(val *InfraAPIPermission)
- func (v *NullableInfraAPIPermission) UnmarshalJSON(src []byte) error
- func (v *NullableInfraAPIPermission) Unset()
- 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 NullableProvider
- type NullableProviderKind
- func (v NullableProviderKind) Get() *ProviderKind
- func (v NullableProviderKind) IsSet() bool
- func (v NullableProviderKind) MarshalJSON() ([]byte, error)
- func (v *NullableProviderKind) Set(val *ProviderKind)
- func (v *NullableProviderKind) UnmarshalJSON(src []byte) error
- func (v *NullableProviderKind) Unset()
- type NullableRole
- type NullableRoleKind
- type NullableString
- type NullableTime
- type NullableToken
- type NullableTokenRequest
- func (v NullableTokenRequest) Get() *TokenRequest
- func (v NullableTokenRequest) IsSet() bool
- func (v NullableTokenRequest) MarshalJSON() ([]byte, error)
- func (v *NullableTokenRequest) Set(val *TokenRequest)
- func (v *NullableTokenRequest) UnmarshalJSON(src []byte) error
- func (v *NullableTokenRequest) Unset()
- type NullableUser
- type NullableVersion
- type Provider
- func (o *Provider) GetClientID() string
- func (o *Provider) GetClientIDOk() (*string, bool)
- func (o *Provider) GetCreated() int64
- func (o *Provider) GetCreatedOk() (*int64, bool)
- func (o *Provider) GetDomain() string
- func (o *Provider) GetDomainOk() (*string, bool)
- func (o *Provider) GetId() string
- func (o *Provider) GetIdOk() (*string, bool)
- func (o *Provider) GetKind() string
- func (o *Provider) GetKindOk() (*string, bool)
- func (o *Provider) GetUpdated() int64
- func (o *Provider) GetUpdatedOk() (*int64, bool)
- func (o Provider) MarshalJSON() ([]byte, error)
- func (o *Provider) SetClientID(v string)
- func (o *Provider) SetCreated(v int64)
- func (o *Provider) SetDomain(v string)
- func (o *Provider) SetId(v string)
- func (o *Provider) SetKind(v string)
- func (o *Provider) SetUpdated(v int64)
- type ProviderKind
- type ProvidersAPIService
- func (a *ProvidersAPIService) GetProvider(ctx _context.Context, id string) APIGetProviderRequest
- func (a *ProvidersAPIService) GetProviderExecute(r APIGetProviderRequest) (Provider, *_nethttp.Response, error)
- func (a *ProvidersAPIService) ListProviders(ctx _context.Context) APIListProvidersRequest
- func (a *ProvidersAPIService) ListProvidersExecute(r APIListProvidersRequest) ([]Provider, *_nethttp.Response, error)
- 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) GetGroups() []Group
- func (o *Role) GetGroupsOk() (*[]Group, 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) SetGroups(v []Group)
- 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
- func (a *RolesAPIService) GetRole(ctx _context.Context, id string) APIGetRoleRequest
- func (a *RolesAPIService) GetRoleExecute(r APIGetRoleRequest) (Role, *_nethttp.Response, error)
- func (a *RolesAPIService) ListRoles(ctx _context.Context) APIListRolesRequest
- func (a *RolesAPIService) ListRolesExecute(r APIListRolesRequest) ([]Role, *_nethttp.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Token
- type TokenRequest
- type TokensAPIService
- 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) GetGroups() []Group
- func (o *User) GetGroupsOk() (*[]Group, bool)
- func (o *User) GetId() string
- func (o *User) GetIdOk() (*string, bool)
- func (o *User) GetRoles() []Role
- func (o *User) GetRolesOk() (*[]Role, 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) SetGroups(v []Group)
- func (o *User) SetId(v string)
- func (o *User) SetRoles(v []Role)
- func (o *User) SetUpdated(v int64)
- type UsersAPIService
- func (a *UsersAPIService) GetUser(ctx _context.Context, id string) APIGetUserRequest
- func (a *UsersAPIService) GetUserExecute(r APIGetUserRequest) (User, *_nethttp.Response, error)
- func (a *UsersAPIService) ListUsers(ctx _context.Context) APIListUsersRequest
- func (a *UsersAPIService) ListUsersExecute(r APIListUsersRequest) ([]User, *_nethttp.Response, error)
- 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 { APIKeysAPI *APIKeysAPIService AuthAPI *AuthAPIService DestinationsAPI *DestinationsAPIService GroupsAPI *GroupsAPIService ProvidersAPI *ProvidersAPIService RolesAPI *RolesAPIService TokensAPI *TokensAPIService 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 APICreateAPIKeyRequest ¶ added in v0.4.0
type APICreateAPIKeyRequest struct { APIService *APIKeysAPIService // contains filtered or unexported fields }
func (APICreateAPIKeyRequest) Body ¶ added in v0.4.0
func (r APICreateAPIKeyRequest) Body(body InfraAPIKeyCreateRequest) APICreateAPIKeyRequest
func (APICreateAPIKeyRequest) Execute ¶ added in v0.4.0
func (r APICreateAPIKeyRequest) Execute() (InfraAPIKeyCreateResponse, *_nethttp.Response, error)
type APICreateDestinationRequest ¶ added in v0.4.0
type APICreateDestinationRequest struct { APIService *DestinationsAPIService // contains filtered or unexported fields }
func (APICreateDestinationRequest) Body ¶ added in v0.4.0
func (r APICreateDestinationRequest) Body(body DestinationCreateRequest) APICreateDestinationRequest
func (APICreateDestinationRequest) Execute ¶ added in v0.4.0
func (r APICreateDestinationRequest) Execute() (Destination, *_nethttp.Response, error)
type APICreateTokenRequest ¶ added in v0.4.0
type APICreateTokenRequest struct { APIService *TokensAPIService // contains filtered or unexported fields }
func (APICreateTokenRequest) Body ¶ added in v0.4.0
func (r APICreateTokenRequest) Body(body TokenRequest) APICreateTokenRequest
type APIDeleteAPIKeyRequest ¶ added in v0.4.0
type APIDeleteAPIKeyRequest struct { APIService *APIKeysAPIService // contains filtered or unexported fields }
type APIGetDestinationRequest ¶ added in v0.4.0
type APIGetDestinationRequest struct { APIService *DestinationsAPIService // contains filtered or unexported fields }
func (APIGetDestinationRequest) Execute ¶ added in v0.4.0
func (r APIGetDestinationRequest) Execute() (Destination, *_nethttp.Response, error)
type APIGetGroupRequest ¶ added in v0.4.0
type APIGetGroupRequest struct { APIService *GroupsAPIService // contains filtered or unexported fields }
type APIGetProviderRequest ¶ added in v0.4.0
type APIGetProviderRequest struct { APIService *ProvidersAPIService // contains filtered or unexported fields }
type APIGetRoleRequest ¶ added in v0.4.0
type APIGetRoleRequest struct { APIService *RolesAPIService // contains filtered or unexported fields }
type APIGetUserRequest ¶ added in v0.4.0
type APIGetUserRequest struct { APIService *UsersAPIService // contains filtered or unexported fields }
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIKeysAPIService ¶ added in v0.4.0
type APIKeysAPIService service
APIKeysAPIService APIKeysAPI service
func (*APIKeysAPIService) CreateAPIKey ¶ added in v0.4.0
func (a *APIKeysAPIService) CreateAPIKey(ctx _context.Context) APICreateAPIKeyRequest
CreateAPIKey Create an API key
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return APICreateAPIKeyRequest
func (*APIKeysAPIService) CreateAPIKeyExecute ¶ added in v0.4.0
func (a *APIKeysAPIService) CreateAPIKeyExecute(r APICreateAPIKeyRequest) (InfraAPIKeyCreateResponse, *_nethttp.Response, error)
Execute executes the request
@return InfraAPIKeyCreateResponse
func (*APIKeysAPIService) DeleteAPIKey ¶ added in v0.4.0
func (a *APIKeysAPIService) DeleteAPIKey(ctx _context.Context, id string) APIDeleteAPIKeyRequest
DeleteAPIKey Delete an API key
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id API key ID @return APIDeleteAPIKeyRequest
func (*APIKeysAPIService) DeleteAPIKeyExecute ¶ added in v0.4.0
func (a *APIKeysAPIService) DeleteAPIKeyExecute(r APIDeleteAPIKeyRequest) (*_nethttp.Response, error)
Execute executes the request
func (*APIKeysAPIService) ListAPIKeys ¶ added in v0.4.0
func (a *APIKeysAPIService) ListAPIKeys(ctx _context.Context) APIListAPIKeysRequest
ListAPIKeys List 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 ¶ added in v0.4.0
func (a *APIKeysAPIService) ListAPIKeysExecute(r APIListAPIKeysRequest) ([]InfraAPIKey, *_nethttp.Response, error)
Execute executes the request
@return []InfraAPIKey
type APIListAPIKeysRequest ¶ added in v0.4.0
type APIListAPIKeysRequest struct { APIService *APIKeysAPIService // contains filtered or unexported fields }
func (APIListAPIKeysRequest) Execute ¶ added in v0.4.0
func (r APIListAPIKeysRequest) Execute() ([]InfraAPIKey, *_nethttp.Response, error)
func (APIListAPIKeysRequest) Name ¶ added in v0.4.0
func (r APIListAPIKeysRequest) Name(name string) APIListAPIKeysRequest
Filter results by the API key name
type APIListDestinationsRequest ¶ added in v0.4.0
type APIListDestinationsRequest struct { APIService *DestinationsAPIService // contains filtered or unexported fields }
func (APIListDestinationsRequest) Execute ¶ added in v0.4.0
func (r APIListDestinationsRequest) Execute() ([]Destination, *_nethttp.Response, error)
func (APIListDestinationsRequest) Kind ¶ added in v0.4.0
func (r APIListDestinationsRequest) Kind(kind DestinationKind) APIListDestinationsRequest
Filter destinations by kind
func (APIListDestinationsRequest) Name ¶ added in v0.4.0
func (r APIListDestinationsRequest) Name(name string) APIListDestinationsRequest
Filter destinations by name
type APIListGroupsRequest ¶ added in v0.4.0
type APIListGroupsRequest struct { APIService *GroupsAPIService // contains filtered or unexported fields }
func (APIListGroupsRequest) Active ¶ added in v0.4.0
func (r APIListGroupsRequest) Active(active bool) APIListGroupsRequest
Filter groups by active state
func (APIListGroupsRequest) Execute ¶ added in v0.4.0
func (r APIListGroupsRequest) Execute() ([]Group, *_nethttp.Response, error)
func (APIListGroupsRequest) Name ¶ added in v0.4.0
func (r APIListGroupsRequest) Name(name string) APIListGroupsRequest
Filter groups by name
type APIListProvidersRequest ¶ added in v0.4.0
type APIListProvidersRequest struct { APIService *ProvidersAPIService // contains filtered or unexported fields }
func (APIListProvidersRequest) Execute ¶ added in v0.4.0
func (r APIListProvidersRequest) Execute() ([]Provider, *_nethttp.Response, error)
func (APIListProvidersRequest) Kind ¶ added in v0.4.0
func (r APIListProvidersRequest) Kind(kind ProviderKind) APIListProvidersRequest
Filter providers by kind
type APIListRolesRequest ¶ added in v0.4.0
type APIListRolesRequest struct { APIService *RolesAPIService // contains filtered or unexported fields }
func (APIListRolesRequest) Destination ¶ added in v0.4.0
func (r APIListRolesRequest) Destination(destination string) APIListRolesRequest
Filter results by destination
func (APIListRolesRequest) Execute ¶ added in v0.4.0
func (r APIListRolesRequest) Execute() ([]Role, *_nethttp.Response, error)
func (APIListRolesRequest) Kind ¶ added in v0.4.0
func (r APIListRolesRequest) Kind(kind RoleKind) APIListRolesRequest
Filter results by kind
func (APIListRolesRequest) Name ¶ added in v0.4.0
func (r APIListRolesRequest) Name(name string) APIListRolesRequest
Filter results by name
type APIListUsersRequest ¶ added in v0.4.0
type APIListUsersRequest struct { APIService *UsersAPIService // contains filtered or unexported fields }
func (APIListUsersRequest) Email ¶ added in v0.4.0
func (r APIListUsersRequest) Email(email string) APIListUsersRequest
Filter results by user email
type APILoginRequest ¶ added in v0.4.0
type APILoginRequest struct { APIService *AuthAPIService // contains filtered or unexported fields }
func (APILoginRequest) Body ¶ added in v0.4.0
func (r APILoginRequest) Body(body LoginRequest) APILoginRequest
func (APILoginRequest) Execute ¶ added in v0.4.0
func (r APILoginRequest) Execute() (LoginResponse, *_nethttp.Response, error)
type APILogoutRequest ¶ added in v0.4.0
type APILogoutRequest struct { APIService *AuthAPIService // contains filtered or unexported fields }
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 APIVersionRequest ¶ added in v0.4.0
type APIVersionRequest struct { APIService *VersionAPIService // contains filtered or unexported fields }
type AuthAPIService ¶ added in v0.4.0
type AuthAPIService service
AuthAPIService AuthAPI service
func (*AuthAPIService) Login ¶ added in v0.4.0
func (a *AuthAPIService) Login(ctx _context.Context) APILoginRequest
Login Login to Infra
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return APILoginRequest
func (*AuthAPIService) LoginExecute ¶ added in v0.4.0
func (a *AuthAPIService) LoginExecute(r APILoginRequest) (LoginResponse, *_nethttp.Response, error)
Execute executes the request
@return LoginResponse
func (*AuthAPIService) Logout ¶ added in v0.4.0
func (a *AuthAPIService) Logout(ctx _context.Context) APILogoutRequest
Logout Logout 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 ¶ added in v0.4.0
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 Destination ¶
type Destination struct { Id string `json:"id"` NodeID string `json:"nodeID"` Name string `json:"name"` Kind DestinationKind `json:"kind"` // created time in seconds since 1970-01-01 Created int64 `json:"created"` // updated time in seconds since 1970-01-01 Updated int64 `json:"updated"` Labels []string `json:"labels"` Kubernetes *DestinationKubernetes `json:"kubernetes,omitempty"` }
Destination struct for Destination
func NewDestination ¶
func NewDestination(id string, nodeID string, name string, kind DestinationKind, created int64, updated int64, labels []string) *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) GetKind ¶ added in v0.4.7
func (o *Destination) GetKind() DestinationKind
GetKind returns the Kind field value
func (*Destination) GetKindOk ¶ added in v0.4.7
func (o *Destination) GetKindOk() (*DestinationKind, bool)
GetKindOk returns a tuple with the Kind 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) GetLabels ¶ added in v0.4.6
func (o *Destination) GetLabels() []string
GetLabels returns the Labels field value
func (*Destination) GetLabelsOk ¶ added in v0.4.6
func (o *Destination) GetLabelsOk() (*[]string, bool)
GetLabelsOk returns a tuple with the Labels field value 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) GetNodeID ¶ added in v0.4.9
func (o *Destination) GetNodeID() string
GetNodeID returns the NodeID field value
func (*Destination) GetNodeIDOk ¶ added in v0.4.9
func (o *Destination) GetNodeIDOk() (*string, bool)
GetNodeIDOk returns a tuple with the NodeID 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) SetKind ¶ added in v0.4.7
func (o *Destination) SetKind(v DestinationKind)
SetKind 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) SetLabels ¶ added in v0.4.6
func (o *Destination) SetLabels(v []string)
SetLabels sets field value
func (*Destination) SetNodeID ¶ added in v0.4.9
func (o *Destination) SetNodeID(v string)
SetNodeID sets field value
func (*Destination) SetUpdated ¶
func (o *Destination) SetUpdated(v int64)
SetUpdated sets field value
type DestinationCreateRequest ¶
type DestinationCreateRequest struct { NodeID string `json:"nodeID"` Name string `json:"name"` Kind DestinationKind `json:"kind"` Labels []string `json:"labels"` Kubernetes *DestinationKubernetes `json:"kubernetes,omitempty"` }
DestinationCreateRequest struct for DestinationCreateRequest
func NewDestinationCreateRequest ¶
func NewDestinationCreateRequest(nodeID string, name string, kind DestinationKind, labels []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) GetKind ¶ added in v0.4.7
func (o *DestinationCreateRequest) GetKind() DestinationKind
GetKind returns the Kind field value
func (*DestinationCreateRequest) GetKindOk ¶ added in v0.4.7
func (o *DestinationCreateRequest) GetKindOk() (*DestinationKind, bool)
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been 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) GetLabels ¶ added in v0.4.6
func (o *DestinationCreateRequest) GetLabels() []string
GetLabels returns the Labels field value
func (*DestinationCreateRequest) GetLabelsOk ¶ added in v0.4.6
func (o *DestinationCreateRequest) GetLabelsOk() (*[]string, bool)
GetLabelsOk returns a tuple with the Labels field value 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) GetNodeID ¶ added in v0.4.9
func (o *DestinationCreateRequest) GetNodeID() string
GetNodeID returns the NodeID field value
func (*DestinationCreateRequest) GetNodeIDOk ¶ added in v0.4.9
func (o *DestinationCreateRequest) GetNodeIDOk() (*string, bool)
GetNodeIDOk returns a tuple with the NodeID 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) SetKind ¶ added in v0.4.7
func (o *DestinationCreateRequest) SetKind(v DestinationKind)
SetKind sets field value
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) SetLabels ¶ added in v0.4.6
func (o *DestinationCreateRequest) SetLabels(v []string)
SetLabels sets field value
func (*DestinationCreateRequest) SetName ¶
func (o *DestinationCreateRequest) SetName(v string)
SetName sets field value
func (*DestinationCreateRequest) SetNodeID ¶ added in v0.4.9
func (o *DestinationCreateRequest) SetNodeID(v string)
SetNodeID sets field value
type DestinationKind ¶ added in v0.4.7
type DestinationKind string
DestinationKind the model 'DestinationKind'
const (
KUBERNETES DestinationKind = "kubernetes"
)
List of DestinationKind
func NewDestinationKindFromValue ¶ added in v0.4.7
func NewDestinationKindFromValue(v string) (*DestinationKind, error)
NewDestinationKindFromValue returns a pointer to a valid DestinationKind for the value passed as argument, or an error if the value passed is not allowed by the enum
func (DestinationKind) IsValid ¶ added in v0.4.7
func (v DestinationKind) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (DestinationKind) Ptr ¶ added in v0.4.7
func (v DestinationKind) Ptr() *DestinationKind
Ptr returns reference to DestinationKind value
func (*DestinationKind) UnmarshalJSON ¶ added in v0.4.7
func (v *DestinationKind) UnmarshalJSON(src []byte) error
type DestinationKubernetes ¶
type DestinationKubernetes struct { Ca string `json:"ca" validate:"required"` Endpoint string `json:"endpoint" validate:"required"` }
DestinationKubernetes struct for DestinationKubernetes
func NewDestinationKubernetes ¶
func NewDestinationKubernetes(ca string, endpoint 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) 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
type DestinationsAPIService ¶ added in v0.4.0
type DestinationsAPIService service
DestinationsAPIService DestinationsAPI service
func (*DestinationsAPIService) CreateDestination ¶ added in v0.4.0
func (a *DestinationsAPIService) CreateDestination(ctx _context.Context) APICreateDestinationRequest
CreateDestination Create 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 ¶ added in v0.4.0
func (a *DestinationsAPIService) CreateDestinationExecute(r APICreateDestinationRequest) (Destination, *_nethttp.Response, error)
Execute executes the request
@return Destination
func (*DestinationsAPIService) GetDestination ¶ added in v0.4.0
func (a *DestinationsAPIService) GetDestination(ctx _context.Context, id string) APIGetDestinationRequest
GetDestination Get destination by ID
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Destination ID @return APIGetDestinationRequest
func (*DestinationsAPIService) GetDestinationExecute ¶ added in v0.4.0
func (a *DestinationsAPIService) GetDestinationExecute(r APIGetDestinationRequest) (Destination, *_nethttp.Response, error)
Execute executes the request
@return Destination
func (*DestinationsAPIService) ListDestinations ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 time in seconds since 1970-01-01 Created int64 `json:"created"` // updated time in seconds since 1970-01-01 Updated int64 `json:"updated"` ProviderID string `json:"providerID"` Users []User `json:"users"` Roles []Role `json:"roles"` }
Group struct for Group
func NewGroup ¶
func NewGroup(id string, name string, created int64, updated int64, providerID string, users []User, roles []Role) *Group
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) GetProviderID ¶ added in v0.4.0
GetProviderID returns the ProviderID field value
func (*Group) GetProviderIDOk ¶ added in v0.4.0
GetProviderIDOk returns a tuple with the ProviderID field value and a boolean to check if the value has been set.
func (*Group) GetRolesOk ¶ added in v0.3.2
GetRolesOk returns a tuple with the Roles 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) GetUsersOk ¶ added in v0.3.2
GetUsersOk returns a tuple with the Users field value and a boolean to check if the value has been set.
func (Group) MarshalJSON ¶
func (*Group) SetProviderID ¶ added in v0.4.0
SetProviderID sets field value
type GroupsAPIService ¶ added in v0.4.0
type GroupsAPIService service
GroupsAPIService GroupsAPI service
func (*GroupsAPIService) GetGroup ¶ added in v0.4.0
func (a *GroupsAPIService) GetGroup(ctx _context.Context, id string) APIGetGroupRequest
GetGroup Get group by ID
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Group ID @return APIGetGroupRequest
func (*GroupsAPIService) GetGroupExecute ¶ added in v0.4.0
func (a *GroupsAPIService) GetGroupExecute(r APIGetGroupRequest) (Group, *_nethttp.Response, error)
Execute executes the request
@return Group
func (*GroupsAPIService) ListGroups ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (a *GroupsAPIService) ListGroupsExecute(r APIListGroupsRequest) ([]Group, *_nethttp.Response, error)
Execute executes the request
@return []Group
type InfraAPIKey ¶ added in v0.2.5
type InfraAPIKey struct { Id string `json:"id"` Created int64 `json:"created"` Name string `json:"name"` Permissions []InfraAPIPermission `json:"permissions"` }
InfraAPIKey struct for InfraAPIKey
func NewInfraAPIKey ¶ added in v0.2.5
func NewInfraAPIKey(id string, created int64, name string, permissions []InfraAPIPermission) *InfraAPIKey
NewInfraAPIKey instantiates a new InfraAPIKey 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 NewInfraAPIKeyWithDefaults ¶ added in v0.2.5
func NewInfraAPIKeyWithDefaults() *InfraAPIKey
NewInfraAPIKeyWithDefaults instantiates a new InfraAPIKey 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 (*InfraAPIKey) GetCreated ¶ added in v0.2.5
func (o *InfraAPIKey) GetCreated() int64
GetCreated returns the Created field value
func (*InfraAPIKey) GetCreatedOk ¶ added in v0.2.5
func (o *InfraAPIKey) GetCreatedOk() (*int64, bool)
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*InfraAPIKey) GetId ¶ added in v0.2.5
func (o *InfraAPIKey) GetId() string
GetId returns the Id field value
func (*InfraAPIKey) GetIdOk ¶ added in v0.2.5
func (o *InfraAPIKey) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*InfraAPIKey) GetName ¶ added in v0.2.5
func (o *InfraAPIKey) GetName() string
GetName returns the Name field value
func (*InfraAPIKey) GetNameOk ¶ added in v0.2.5
func (o *InfraAPIKey) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*InfraAPIKey) GetPermissions ¶ added in v0.3.0
func (o *InfraAPIKey) GetPermissions() []InfraAPIPermission
GetPermissions returns the Permissions field value
func (*InfraAPIKey) GetPermissionsOk ¶ added in v0.3.0
func (o *InfraAPIKey) GetPermissionsOk() (*[]InfraAPIPermission, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (InfraAPIKey) MarshalJSON ¶ added in v0.2.5
func (o InfraAPIKey) MarshalJSON() ([]byte, error)
func (*InfraAPIKey) SetCreated ¶ added in v0.2.5
func (o *InfraAPIKey) SetCreated(v int64)
SetCreated sets field value
func (*InfraAPIKey) SetId ¶ added in v0.2.5
func (o *InfraAPIKey) SetId(v string)
SetId sets field value
func (*InfraAPIKey) SetName ¶ added in v0.2.5
func (o *InfraAPIKey) SetName(v string)
SetName sets field value
func (*InfraAPIKey) SetPermissions ¶ added in v0.3.0
func (o *InfraAPIKey) SetPermissions(v []InfraAPIPermission)
SetPermissions sets field value
type InfraAPIKeyCreateRequest ¶ added in v0.2.5
type InfraAPIKeyCreateRequest struct { Name string `json:"name"` Permissions []InfraAPIPermission `json:"permissions"` }
InfraAPIKeyCreateRequest struct for InfraAPIKeyCreateRequest
func NewInfraAPIKeyCreateRequest ¶ added in v0.2.5
func NewInfraAPIKeyCreateRequest(name string, permissions []InfraAPIPermission) *InfraAPIKeyCreateRequest
NewInfraAPIKeyCreateRequest instantiates a new InfraAPIKeyCreateRequest 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 NewInfraAPIKeyCreateRequestWithDefaults ¶ added in v0.2.5
func NewInfraAPIKeyCreateRequestWithDefaults() *InfraAPIKeyCreateRequest
NewInfraAPIKeyCreateRequestWithDefaults instantiates a new InfraAPIKeyCreateRequest 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 (*InfraAPIKeyCreateRequest) GetName ¶ added in v0.2.5
func (o *InfraAPIKeyCreateRequest) GetName() string
GetName returns the Name field value
func (*InfraAPIKeyCreateRequest) GetNameOk ¶ added in v0.2.5
func (o *InfraAPIKeyCreateRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*InfraAPIKeyCreateRequest) GetPermissions ¶ added in v0.3.0
func (o *InfraAPIKeyCreateRequest) GetPermissions() []InfraAPIPermission
GetPermissions returns the Permissions field value
func (*InfraAPIKeyCreateRequest) GetPermissionsOk ¶ added in v0.3.0
func (o *InfraAPIKeyCreateRequest) GetPermissionsOk() (*[]InfraAPIPermission, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (InfraAPIKeyCreateRequest) MarshalJSON ¶ added in v0.2.5
func (o InfraAPIKeyCreateRequest) MarshalJSON() ([]byte, error)
func (*InfraAPIKeyCreateRequest) SetName ¶ added in v0.2.5
func (o *InfraAPIKeyCreateRequest) SetName(v string)
SetName sets field value
func (*InfraAPIKeyCreateRequest) SetPermissions ¶ added in v0.3.0
func (o *InfraAPIKeyCreateRequest) SetPermissions(v []InfraAPIPermission)
SetPermissions sets field value
type InfraAPIKeyCreateResponse ¶ added in v0.2.5
type InfraAPIKeyCreateResponse struct { Key string `json:"key"` Id string `json:"id"` Created int64 `json:"created"` Name string `json:"name"` Permissions []InfraAPIPermission `json:"permissions"` }
InfraAPIKeyCreateResponse struct for InfraAPIKeyCreateResponse
func NewInfraAPIKeyCreateResponse ¶ added in v0.2.5
func NewInfraAPIKeyCreateResponse(key string, id string, created int64, name string, permissions []InfraAPIPermission) *InfraAPIKeyCreateResponse
NewInfraAPIKeyCreateResponse instantiates a new InfraAPIKeyCreateResponse 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 NewInfraAPIKeyCreateResponseWithDefaults ¶ added in v0.2.5
func NewInfraAPIKeyCreateResponseWithDefaults() *InfraAPIKeyCreateResponse
NewInfraAPIKeyCreateResponseWithDefaults instantiates a new InfraAPIKeyCreateResponse 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 (*InfraAPIKeyCreateResponse) GetCreated ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) GetCreated() int64
GetCreated returns the Created field value
func (*InfraAPIKeyCreateResponse) GetCreatedOk ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) GetCreatedOk() (*int64, bool)
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*InfraAPIKeyCreateResponse) GetId ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) GetId() string
GetId returns the Id field value
func (*InfraAPIKeyCreateResponse) GetIdOk ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*InfraAPIKeyCreateResponse) GetKey ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) GetKey() string
GetKey returns the Key field value
func (*InfraAPIKeyCreateResponse) GetKeyOk ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value and a boolean to check if the value has been set.
func (*InfraAPIKeyCreateResponse) GetName ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) GetName() string
GetName returns the Name field value
func (*InfraAPIKeyCreateResponse) GetNameOk ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*InfraAPIKeyCreateResponse) GetPermissions ¶ added in v0.3.0
func (o *InfraAPIKeyCreateResponse) GetPermissions() []InfraAPIPermission
GetPermissions returns the Permissions field value
func (*InfraAPIKeyCreateResponse) GetPermissionsOk ¶ added in v0.3.0
func (o *InfraAPIKeyCreateResponse) GetPermissionsOk() (*[]InfraAPIPermission, bool)
GetPermissionsOk returns a tuple with the Permissions field value and a boolean to check if the value has been set.
func (InfraAPIKeyCreateResponse) MarshalJSON ¶ added in v0.2.5
func (o InfraAPIKeyCreateResponse) MarshalJSON() ([]byte, error)
func (*InfraAPIKeyCreateResponse) SetCreated ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) SetCreated(v int64)
SetCreated sets field value
func (*InfraAPIKeyCreateResponse) SetId ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) SetId(v string)
SetId sets field value
func (*InfraAPIKeyCreateResponse) SetKey ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) SetKey(v string)
SetKey sets field value
func (*InfraAPIKeyCreateResponse) SetName ¶ added in v0.2.5
func (o *InfraAPIKeyCreateResponse) SetName(v string)
SetName sets field value
func (*InfraAPIKeyCreateResponse) SetPermissions ¶ added in v0.3.0
func (o *InfraAPIKeyCreateResponse) SetPermissions(v []InfraAPIPermission)
SetPermissions sets field value
type InfraAPIPermission ¶ added in v0.3.1
type InfraAPIPermission string
InfraAPIPermission InfraAPI permissions of the form \"infra.resource.action\"
const ( USERS_READ InfraAPIPermission = "infra.users.read" GROUPS_READ InfraAPIPermission = "infra.groups.read" DESTINATIONS_CREATE InfraAPIPermission = "infra.destinations.create" DESTINATIONS_READ InfraAPIPermission = "infra.destinations.read" API_KEYS_CREATE InfraAPIPermission = "infra.api-keys.create" API_KEYS_READ InfraAPIPermission = "infra.api-keys.read" API_KEYS_DELETE InfraAPIPermission = "infra.api-keys.delete" TOKENS_CREATE InfraAPIPermission = "infra.tokens.create" ROLES_READ InfraAPIPermission = "infra.roles.read" AUTH_DELETE InfraAPIPermission = "infra.auth.delete" STAR InfraAPIPermission = "infra.*" )
List of InfraAPIPermission
func NewInfraAPIPermissionFromValue ¶ added in v0.3.1
func NewInfraAPIPermissionFromValue(v string) (*InfraAPIPermission, error)
NewInfraAPIPermissionFromValue returns a pointer to a valid InfraAPIPermission for the value passed as argument, or an error if the value passed is not allowed by the enum
func (InfraAPIPermission) IsValid ¶ added in v0.3.1
func (v InfraAPIPermission) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (InfraAPIPermission) Ptr ¶ added in v0.3.1
func (v InfraAPIPermission) Ptr() *InfraAPIPermission
Ptr returns reference to InfraAPIPermission value
func (*InfraAPIPermission) UnmarshalJSON ¶ added in v0.3.1
func (v *InfraAPIPermission) UnmarshalJSON(src []byte) error
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:"fqdn,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 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 NullableDestinationKind ¶ added in v0.4.7
type NullableDestinationKind struct {
// contains filtered or unexported fields
}
func NewNullableDestinationKind ¶ added in v0.4.7
func NewNullableDestinationKind(val *DestinationKind) *NullableDestinationKind
func (NullableDestinationKind) Get ¶ added in v0.4.7
func (v NullableDestinationKind) Get() *DestinationKind
func (NullableDestinationKind) IsSet ¶ added in v0.4.7
func (v NullableDestinationKind) IsSet() bool
func (NullableDestinationKind) MarshalJSON ¶ added in v0.4.7
func (v NullableDestinationKind) MarshalJSON() ([]byte, error)
func (*NullableDestinationKind) Set ¶ added in v0.4.7
func (v *NullableDestinationKind) Set(val *DestinationKind)
func (*NullableDestinationKind) UnmarshalJSON ¶ added in v0.4.7
func (v *NullableDestinationKind) UnmarshalJSON(src []byte) error
func (*NullableDestinationKind) Unset ¶ added in v0.4.7
func (v *NullableDestinationKind) 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 NullableInfraAPIKey ¶ added in v0.2.5
type NullableInfraAPIKey struct {
// contains filtered or unexported fields
}
func NewNullableInfraAPIKey ¶ added in v0.2.5
func NewNullableInfraAPIKey(val *InfraAPIKey) *NullableInfraAPIKey
func (NullableInfraAPIKey) Get ¶ added in v0.2.5
func (v NullableInfraAPIKey) Get() *InfraAPIKey
func (NullableInfraAPIKey) IsSet ¶ added in v0.2.5
func (v NullableInfraAPIKey) IsSet() bool
func (NullableInfraAPIKey) MarshalJSON ¶ added in v0.2.5
func (v NullableInfraAPIKey) MarshalJSON() ([]byte, error)
func (*NullableInfraAPIKey) Set ¶ added in v0.2.5
func (v *NullableInfraAPIKey) Set(val *InfraAPIKey)
func (*NullableInfraAPIKey) UnmarshalJSON ¶ added in v0.2.5
func (v *NullableInfraAPIKey) UnmarshalJSON(src []byte) error
func (*NullableInfraAPIKey) Unset ¶ added in v0.2.5
func (v *NullableInfraAPIKey) Unset()
type NullableInfraAPIKeyCreateRequest ¶ added in v0.2.5
type NullableInfraAPIKeyCreateRequest struct {
// contains filtered or unexported fields
}
func NewNullableInfraAPIKeyCreateRequest ¶ added in v0.2.5
func NewNullableInfraAPIKeyCreateRequest(val *InfraAPIKeyCreateRequest) *NullableInfraAPIKeyCreateRequest
func (NullableInfraAPIKeyCreateRequest) Get ¶ added in v0.2.5
func (v NullableInfraAPIKeyCreateRequest) Get() *InfraAPIKeyCreateRequest
func (NullableInfraAPIKeyCreateRequest) IsSet ¶ added in v0.2.5
func (v NullableInfraAPIKeyCreateRequest) IsSet() bool
func (NullableInfraAPIKeyCreateRequest) MarshalJSON ¶ added in v0.2.5
func (v NullableInfraAPIKeyCreateRequest) MarshalJSON() ([]byte, error)
func (*NullableInfraAPIKeyCreateRequest) Set ¶ added in v0.2.5
func (v *NullableInfraAPIKeyCreateRequest) Set(val *InfraAPIKeyCreateRequest)
func (*NullableInfraAPIKeyCreateRequest) UnmarshalJSON ¶ added in v0.2.5
func (v *NullableInfraAPIKeyCreateRequest) UnmarshalJSON(src []byte) error
func (*NullableInfraAPIKeyCreateRequest) Unset ¶ added in v0.2.5
func (v *NullableInfraAPIKeyCreateRequest) Unset()
type NullableInfraAPIKeyCreateResponse ¶ added in v0.2.5
type NullableInfraAPIKeyCreateResponse struct {
// contains filtered or unexported fields
}
func NewNullableInfraAPIKeyCreateResponse ¶ added in v0.2.5
func NewNullableInfraAPIKeyCreateResponse(val *InfraAPIKeyCreateResponse) *NullableInfraAPIKeyCreateResponse
func (NullableInfraAPIKeyCreateResponse) Get ¶ added in v0.2.5
func (v NullableInfraAPIKeyCreateResponse) Get() *InfraAPIKeyCreateResponse
func (NullableInfraAPIKeyCreateResponse) IsSet ¶ added in v0.2.5
func (v NullableInfraAPIKeyCreateResponse) IsSet() bool
func (NullableInfraAPIKeyCreateResponse) MarshalJSON ¶ added in v0.2.5
func (v NullableInfraAPIKeyCreateResponse) MarshalJSON() ([]byte, error)
func (*NullableInfraAPIKeyCreateResponse) Set ¶ added in v0.2.5
func (v *NullableInfraAPIKeyCreateResponse) Set(val *InfraAPIKeyCreateResponse)
func (*NullableInfraAPIKeyCreateResponse) UnmarshalJSON ¶ added in v0.2.5
func (v *NullableInfraAPIKeyCreateResponse) UnmarshalJSON(src []byte) error
func (*NullableInfraAPIKeyCreateResponse) Unset ¶ added in v0.2.5
func (v *NullableInfraAPIKeyCreateResponse) Unset()
type NullableInfraAPIPermission ¶ added in v0.3.1
type NullableInfraAPIPermission struct {
// contains filtered or unexported fields
}
func NewNullableInfraAPIPermission ¶ added in v0.3.1
func NewNullableInfraAPIPermission(val *InfraAPIPermission) *NullableInfraAPIPermission
func (NullableInfraAPIPermission) Get ¶ added in v0.3.1
func (v NullableInfraAPIPermission) Get() *InfraAPIPermission
func (NullableInfraAPIPermission) IsSet ¶ added in v0.3.1
func (v NullableInfraAPIPermission) IsSet() bool
func (NullableInfraAPIPermission) MarshalJSON ¶ added in v0.3.1
func (v NullableInfraAPIPermission) MarshalJSON() ([]byte, error)
func (*NullableInfraAPIPermission) Set ¶ added in v0.3.1
func (v *NullableInfraAPIPermission) Set(val *InfraAPIPermission)
func (*NullableInfraAPIPermission) UnmarshalJSON ¶ added in v0.3.1
func (v *NullableInfraAPIPermission) UnmarshalJSON(src []byte) error
func (*NullableInfraAPIPermission) Unset ¶ added in v0.3.1
func (v *NullableInfraAPIPermission) 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 NullableProvider ¶ added in v0.4.0
type NullableProvider struct {
// contains filtered or unexported fields
}
func NewNullableProvider ¶ added in v0.4.0
func NewNullableProvider(val *Provider) *NullableProvider
func (NullableProvider) Get ¶ added in v0.4.0
func (v NullableProvider) Get() *Provider
func (NullableProvider) IsSet ¶ added in v0.4.0
func (v NullableProvider) IsSet() bool
func (NullableProvider) MarshalJSON ¶ added in v0.4.0
func (v NullableProvider) MarshalJSON() ([]byte, error)
func (*NullableProvider) Set ¶ added in v0.4.0
func (v *NullableProvider) Set(val *Provider)
func (*NullableProvider) UnmarshalJSON ¶ added in v0.4.0
func (v *NullableProvider) UnmarshalJSON(src []byte) error
func (*NullableProvider) Unset ¶ added in v0.4.0
func (v *NullableProvider) Unset()
type NullableProviderKind ¶ added in v0.4.12
type NullableProviderKind struct {
// contains filtered or unexported fields
}
func NewNullableProviderKind ¶ added in v0.4.12
func NewNullableProviderKind(val *ProviderKind) *NullableProviderKind
func (NullableProviderKind) Get ¶ added in v0.4.12
func (v NullableProviderKind) Get() *ProviderKind
func (NullableProviderKind) IsSet ¶ added in v0.4.12
func (v NullableProviderKind) IsSet() bool
func (NullableProviderKind) MarshalJSON ¶ added in v0.4.12
func (v NullableProviderKind) MarshalJSON() ([]byte, error)
func (*NullableProviderKind) Set ¶ added in v0.4.12
func (v *NullableProviderKind) Set(val *ProviderKind)
func (*NullableProviderKind) UnmarshalJSON ¶ added in v0.4.12
func (v *NullableProviderKind) UnmarshalJSON(src []byte) error
func (*NullableProviderKind) Unset ¶ added in v0.4.12
func (v *NullableProviderKind) 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 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 NullableToken ¶ added in v0.3.0
type NullableToken struct {
// contains filtered or unexported fields
}
func NewNullableToken ¶ added in v0.3.0
func NewNullableToken(val *Token) *NullableToken
func (NullableToken) Get ¶ added in v0.3.0
func (v NullableToken) Get() *Token
func (NullableToken) IsSet ¶ added in v0.3.0
func (v NullableToken) IsSet() bool
func (NullableToken) MarshalJSON ¶ added in v0.3.0
func (v NullableToken) MarshalJSON() ([]byte, error)
func (*NullableToken) Set ¶ added in v0.3.0
func (v *NullableToken) Set(val *Token)
func (*NullableToken) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableToken) UnmarshalJSON(src []byte) error
func (*NullableToken) Unset ¶ added in v0.3.0
func (v *NullableToken) Unset()
type NullableTokenRequest ¶ added in v0.3.0
type NullableTokenRequest struct {
// contains filtered or unexported fields
}
func NewNullableTokenRequest ¶ added in v0.3.0
func NewNullableTokenRequest(val *TokenRequest) *NullableTokenRequest
func (NullableTokenRequest) Get ¶ added in v0.3.0
func (v NullableTokenRequest) Get() *TokenRequest
func (NullableTokenRequest) IsSet ¶ added in v0.3.0
func (v NullableTokenRequest) IsSet() bool
func (NullableTokenRequest) MarshalJSON ¶ added in v0.3.0
func (v NullableTokenRequest) MarshalJSON() ([]byte, error)
func (*NullableTokenRequest) Set ¶ added in v0.3.0
func (v *NullableTokenRequest) Set(val *TokenRequest)
func (*NullableTokenRequest) UnmarshalJSON ¶ added in v0.3.0
func (v *NullableTokenRequest) UnmarshalJSON(src []byte) error
func (*NullableTokenRequest) Unset ¶ added in v0.3.0
func (v *NullableTokenRequest) 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 Provider ¶ added in v0.4.0
type Provider struct { Id string `json:"id"` // created time in seconds since 1970-01-01 Created int64 `json:"created"` // updated time in seconds since 1970-01-01 Updated int64 `json:"updated"` Domain string `json:"domain" validate:"fqdn,required"` ClientID string `json:"clientID" validate:"required"` Kind string `json:"kind" validate:"required"` }
Provider struct for Provider
func NewProvider ¶ added in v0.4.0
func NewProvider(id string, created int64, updated int64, domain string, clientID string, kind string) *Provider
NewProvider instantiates a new Provider 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 NewProviderWithDefaults ¶ added in v0.4.0
func NewProviderWithDefaults() *Provider
NewProviderWithDefaults instantiates a new Provider 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 (*Provider) GetClientID ¶ added in v0.4.0
GetClientID returns the ClientID field value
func (*Provider) GetClientIDOk ¶ added in v0.4.0
GetClientIDOk returns a tuple with the ClientID field value and a boolean to check if the value has been set.
func (*Provider) GetCreated ¶ added in v0.4.0
GetCreated returns the Created field value
func (*Provider) GetCreatedOk ¶ added in v0.4.0
GetCreatedOk returns a tuple with the Created field value and a boolean to check if the value has been set.
func (*Provider) GetDomainOk ¶ added in v0.4.0
GetDomainOk returns a tuple with the Domain field value and a boolean to check if the value has been set.
func (*Provider) GetIdOk ¶ added in v0.4.0
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Provider) GetKindOk ¶ added in v0.4.0
GetKindOk returns a tuple with the Kind field value and a boolean to check if the value has been set.
func (*Provider) GetUpdated ¶ added in v0.4.0
GetUpdated returns the Updated field value
func (*Provider) GetUpdatedOk ¶ added in v0.4.0
GetUpdatedOk returns a tuple with the Updated field value and a boolean to check if the value has been set.
func (Provider) MarshalJSON ¶ added in v0.4.0
func (*Provider) SetClientID ¶ added in v0.4.0
SetClientID sets field value
func (*Provider) SetCreated ¶ added in v0.4.0
SetCreated sets field value
func (*Provider) SetUpdated ¶ added in v0.4.0
SetUpdated sets field value
type ProviderKind ¶ added in v0.4.12
type ProviderKind string
ProviderKind the model 'ProviderKind'
const (
OKTA ProviderKind = "okta"
)
List of ProviderKind
func NewProviderKindFromValue ¶ added in v0.4.12
func NewProviderKindFromValue(v string) (*ProviderKind, error)
NewProviderKindFromValue returns a pointer to a valid ProviderKind for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ProviderKind) IsValid ¶ added in v0.4.12
func (v ProviderKind) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ProviderKind) Ptr ¶ added in v0.4.12
func (v ProviderKind) Ptr() *ProviderKind
Ptr returns reference to ProviderKind value
func (*ProviderKind) UnmarshalJSON ¶ added in v0.4.12
func (v *ProviderKind) UnmarshalJSON(src []byte) error
type ProvidersAPIService ¶ added in v0.4.0
type ProvidersAPIService service
ProvidersAPIService ProvidersAPI service
func (*ProvidersAPIService) GetProvider ¶ added in v0.4.0
func (a *ProvidersAPIService) GetProvider(ctx _context.Context, id string) APIGetProviderRequest
GetProvider Get provider by ID
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Provider ID @return APIGetProviderRequest
func (*ProvidersAPIService) GetProviderExecute ¶ added in v0.4.0
func (a *ProvidersAPIService) GetProviderExecute(r APIGetProviderRequest) (Provider, *_nethttp.Response, error)
Execute executes the request
@return Provider
func (*ProvidersAPIService) ListProviders ¶ added in v0.4.0
func (a *ProvidersAPIService) ListProviders(ctx _context.Context) APIListProvidersRequest
ListProviders List providers
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return APIListProvidersRequest
func (*ProvidersAPIService) ListProvidersExecute ¶ added in v0.4.0
func (a *ProvidersAPIService) ListProvidersExecute(r APIListProvidersRequest) ([]Provider, *_nethttp.Response, error)
Execute executes the request
@return []Provider
type Role ¶
type Role struct { Id string `json:"id"` Name string `json:"name"` // created time in seconds since 1970-01-01 Created int64 `json:"created"` // updated time in seconds since 1970-01-01 Updated int64 `json:"updated"` Kind RoleKind `json:"kind"` Namespace string `json:"namespace"` Users []User `json:"users"` Groups []Group `json:"groups"` 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, groups []Group, 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) GetGroupsOk ¶ added in v0.3.2
GetGroupsOk returns a tuple with the Groups 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 ¶ added in v0.4.0
type RolesAPIService service
RolesAPIService RolesAPI service
func (*RolesAPIService) GetRole ¶ added in v0.4.0
func (a *RolesAPIService) GetRole(ctx _context.Context, id string) APIGetRoleRequest
GetRole Get role
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id Role ID @return APIGetRoleRequest
func (*RolesAPIService) GetRoleExecute ¶ added in v0.4.0
func (a *RolesAPIService) GetRoleExecute(r APIGetRoleRequest) (Role, *_nethttp.Response, error)
Execute executes the request
@return Role
func (*RolesAPIService) ListRoles ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 Token ¶ added in v0.3.0
Token struct for Token
func NewToken ¶ added in v0.3.0
NewToken instantiates a new Token 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 NewTokenWithDefaults ¶ added in v0.3.0
func NewTokenWithDefaults() *Token
NewTokenWithDefaults instantiates a new Token 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 (*Token) GetExpires ¶ added in v0.3.0
GetExpires returns the Expires field value
func (*Token) GetExpiresOk ¶ added in v0.3.0
GetExpiresOk returns a tuple with the Expires field value and a boolean to check if the value has been set.
func (*Token) GetTokenOk ¶ added in v0.3.0
GetTokenOk returns a tuple with the Token field value and a boolean to check if the value has been set.
func (Token) MarshalJSON ¶ added in v0.3.0
func (*Token) SetExpires ¶ added in v0.3.0
SetExpires sets field value
type TokenRequest ¶ added in v0.3.0
type TokenRequest struct {
Destination *string `json:"destination,omitempty" validate:"required"`
}
TokenRequest struct for TokenRequest
func NewTokenRequest ¶ added in v0.3.0
func NewTokenRequest() *TokenRequest
NewTokenRequest instantiates a new TokenRequest 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 NewTokenRequestWithDefaults ¶ added in v0.3.0
func NewTokenRequestWithDefaults() *TokenRequest
NewTokenRequestWithDefaults instantiates a new TokenRequest 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 (*TokenRequest) GetDestination ¶ added in v0.3.0
func (o *TokenRequest) GetDestination() string
GetDestination returns the Destination field value if set, zero value otherwise.
func (*TokenRequest) GetDestinationOk ¶ added in v0.3.0
func (o *TokenRequest) 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 (*TokenRequest) HasDestination ¶ added in v0.3.0
func (o *TokenRequest) HasDestination() bool
HasDestination returns a boolean if a field has been set.
func (TokenRequest) MarshalJSON ¶ added in v0.3.0
func (o TokenRequest) MarshalJSON() ([]byte, error)
func (*TokenRequest) SetDestination ¶ added in v0.3.0
func (o *TokenRequest) SetDestination(v string)
SetDestination gets a reference to the given string and assigns it to the Destination field.
type TokensAPIService ¶ added in v0.4.0
type TokensAPIService service
TokensAPIService TokensAPI service
func (*TokensAPIService) CreateToken ¶ added in v0.4.0
func (a *TokensAPIService) CreateToken(ctx _context.Context) APICreateTokenRequest
CreateToken Create an infrastructure destination token
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return APICreateTokenRequest
func (*TokensAPIService) CreateTokenExecute ¶ added in v0.4.0
func (a *TokensAPIService) CreateTokenExecute(r APICreateTokenRequest) (Token, *_nethttp.Response, error)
Execute executes the request
@return Token
type User ¶
type User struct { Id string `json:"id"` Email string `json:"email" validate:"email,required"` // created time in seconds since 1970-01-01 Created int64 `json:"created"` // updated time in seconds since 1970-01-01 Updated int64 `json:"updated"` Groups []Group `json:"groups"` Roles []Role `json:"roles"` }
User struct for User
func NewUser ¶
func NewUser(id string, email string, created int64, updated int64, groups []Group, roles []Role) *User
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) GetGroupsOk ¶ added in v0.3.2
GetGroupsOk returns a tuple with the Groups 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) GetRolesOk ¶ added in v0.3.2
GetRolesOk returns a tuple with the Roles 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 ¶ added in v0.4.0
type UsersAPIService service
UsersAPIService UsersAPI service
func (*UsersAPIService) GetUser ¶ added in v0.4.0
func (a *UsersAPIService) GetUser(ctx _context.Context, id string) APIGetUserRequest
GetUser Get user by ID
@param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id User ID @return APIGetUserRequest
func (*UsersAPIService) GetUserExecute ¶ added in v0.4.0
func (a *UsersAPIService) GetUserExecute(r APIGetUserRequest) (User, *_nethttp.Response, error)
Execute executes the request
@return User
func (*UsersAPIService) ListUsers ¶ added in v0.4.0
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 ¶ added in v0.4.0
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.4.0
type VersionAPIService service
VersionAPIService VersionAPI service
func (*VersionAPIService) Version ¶ added in v0.4.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.4.0
func (a *VersionAPIService) VersionExecute(r APIVersionRequest) (Version, *_nethttp.Response, error)
Execute executes the request
@return Version
Source Files ¶
- api_api_keys.go
- api_auth.go
- api_destinations.go
- api_groups.go
- api_providers.go
- api_roles.go
- api_tokens.go
- api_users.go
- api_version.go
- client.go
- configuration.go
- model_destination.go
- model_destination_create_request.go
- model_destination_kind.go
- model_destination_kubernetes.go
- model_error.go
- model_group.go
- model_infra_api_key.go
- model_infra_api_key_create_request.go
- model_infra_api_key_create_response.go
- model_infra_api_permission.go
- model_login_request.go
- model_login_request_okta.go
- model_login_response.go
- model_provider.go
- model_provider_kind.go
- model_role.go
- model_role_kind.go
- model_token.go
- model_token_request.go
- model_user.go
- model_version.go
- response.go
- utils.go