cloudapi

package
v0.0.0-...-c9198f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2025 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const CreateUserFromAuth0User_Operation = `` /* 168-byte string literal not displayed */

The mutation executed by CreateUserFromAuth0User.

View Source
const ListServices_Operation = `` /* 321-byte string literal not displayed */

The query executed by ListServices.

View Source
const LoadOrgResources_Operation = `` /* 384-byte string literal not displayed */

The query executed by LoadOrgResources.

View Source
const SendCLITelemetry_Operation = `
mutation SendCLITelemetry ($telemetry: CLITelemetry!) {
	sendCLITelemetries(telemetries: [$telemetry])
}
`

The mutation executed by SendCLITelemetry.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLICommand

type CLICommand struct {
	Noun      string   `json:"noun"`
	Verb      string   `json:"verb"`
	Modifiers []string `json:"modifiers"`
}

func (*CLICommand) GetModifiers

func (v *CLICommand) GetModifiers() []string

GetModifiers returns CLICommand.Modifiers, and is useful for accessing the field via an interface.

func (*CLICommand) GetNoun

func (v *CLICommand) GetNoun() string

GetNoun returns CLICommand.Noun, and is useful for accessing the field via an interface.

func (*CLICommand) GetVerb

func (v *CLICommand) GetVerb() string

GetVerb returns CLICommand.Verb, and is useful for accessing the field via an interface.

type CLIIdentifier

type CLIIdentifier struct {
	Version       string `json:"version"`
	ContextId     string `json:"contextId"`
	CloudClientId string `json:"cloudClientId"`
}

func (*CLIIdentifier) GetCloudClientId

func (v *CLIIdentifier) GetCloudClientId() string

GetCloudClientId returns CLIIdentifier.CloudClientId, and is useful for accessing the field via an interface.

func (*CLIIdentifier) GetContextId

func (v *CLIIdentifier) GetContextId() string

GetContextId returns CLIIdentifier.ContextId, and is useful for accessing the field via an interface.

func (*CLIIdentifier) GetVersion

func (v *CLIIdentifier) GetVersion() string

GetVersion returns CLIIdentifier.Version, and is useful for accessing the field via an interface.

type CLITelemetry

type CLITelemetry struct {
	Identifier CLIIdentifier `json:"identifier"`
	Command    CLICommand    `json:"command"`
}

func (*CLITelemetry) GetCommand

func (v *CLITelemetry) GetCommand() CLICommand

GetCommand returns CLITelemetry.Command, and is useful for accessing the field via an interface.

func (*CLITelemetry) GetIdentifier

func (v *CLITelemetry) GetIdentifier() CLIIdentifier

GetIdentifier returns CLITelemetry.Identifier, and is useful for accessing the field via an interface.

type CreateUserFromAuth0UserMeMeMutation

type CreateUserFromAuth0UserMeMeMutation struct {
	// Register the user defined by the active session token into the otterize users store.
	RegisterUser CreateUserFromAuth0UserMeMeMutationRegisterUserMe `json:"registerUser"`
}

CreateUserFromAuth0UserMeMeMutation includes the requested fields of the GraphQL type MeMutation.

func (*CreateUserFromAuth0UserMeMeMutation) GetRegisterUser

GetRegisterUser returns CreateUserFromAuth0UserMeMeMutation.RegisterUser, and is useful for accessing the field via an interface.

type CreateUserFromAuth0UserMeMeMutationRegisterUserMe

type CreateUserFromAuth0UserMeMeMutationRegisterUserMe struct {
	MeFields `json:"-"`
}

CreateUserFromAuth0UserMeMeMutationRegisterUserMe includes the requested fields of the GraphQL type Me.

func (*CreateUserFromAuth0UserMeMeMutationRegisterUserMe) GetOrganizations

GetOrganizations returns CreateUserFromAuth0UserMeMeMutationRegisterUserMe.Organizations, and is useful for accessing the field via an interface.

func (*CreateUserFromAuth0UserMeMeMutationRegisterUserMe) GetUser

GetUser returns CreateUserFromAuth0UserMeMeMutationRegisterUserMe.User, and is useful for accessing the field via an interface.

func (*CreateUserFromAuth0UserMeMeMutationRegisterUserMe) MarshalJSON

func (*CreateUserFromAuth0UserMeMeMutationRegisterUserMe) UnmarshalJSON

type CreateUserFromAuth0UserResponse

type CreateUserFromAuth0UserResponse struct {
	// Operate on the current logged-in user
	Me CreateUserFromAuth0UserMeMeMutation `json:"me"`
}

CreateUserFromAuth0UserResponse is returned by CreateUserFromAuth0User on success.

func CreateUserFromAuth0User

func CreateUserFromAuth0User(
	ctx_ context.Context,
	client_ graphql.Client,
) (data_ *CreateUserFromAuth0UserResponse, err_ error)

func (*CreateUserFromAuth0UserResponse) GetMe

GetMe returns CreateUserFromAuth0UserResponse.Me, and is useful for accessing the field via an interface.

type ListServicesResponse

type ListServicesResponse struct {
	// List services
	Services []ListServicesServicesService `json:"services"`
}

ListServicesResponse is returned by ListServices on success.

func ListServices

func ListServices(
	ctx_ context.Context,
	client_ graphql.Client,
) (data_ *ListServicesResponse, err_ error)

func (*ListServicesResponse) GetServices

GetServices returns ListServicesResponse.Services, and is useful for accessing the field via an interface.

type ListServicesServicesService

type ListServicesServicesService struct {
	MinimalServiceFields `json:"-"`
}

ListServicesServicesService includes the requested fields of the GraphQL type Service.

func (*ListServicesServicesService) GetId

GetId returns ListServicesServicesService.Id, and is useful for accessing the field via an interface.

func (*ListServicesServicesService) GetName

func (v *ListServicesServicesService) GetName() string

GetName returns ListServicesServicesService.Name, and is useful for accessing the field via an interface.

func (*ListServicesServicesService) GetNamespace

GetNamespace returns ListServicesServicesService.Namespace, and is useful for accessing the field via an interface.

func (*ListServicesServicesService) MarshalJSON

func (v *ListServicesServicesService) MarshalJSON() ([]byte, error)

func (*ListServicesServicesService) UnmarshalJSON

func (v *ListServicesServicesService) UnmarshalJSON(b []byte) error

type LoadOrgResourcesClustersCluster

type LoadOrgResourcesClustersCluster struct {
	MinimalClusterFields `json:"-"`
}

LoadOrgResourcesClustersCluster includes the requested fields of the GraphQL type Cluster.

func (*LoadOrgResourcesClustersCluster) GetId

GetId returns LoadOrgResourcesClustersCluster.Id, and is useful for accessing the field via an interface.

func (*LoadOrgResourcesClustersCluster) GetName

GetName returns LoadOrgResourcesClustersCluster.Name, and is useful for accessing the field via an interface.

func (*LoadOrgResourcesClustersCluster) MarshalJSON

func (v *LoadOrgResourcesClustersCluster) MarshalJSON() ([]byte, error)

func (*LoadOrgResourcesClustersCluster) UnmarshalJSON

func (v *LoadOrgResourcesClustersCluster) UnmarshalJSON(b []byte) error

type LoadOrgResourcesEnvironmentsEnvironment

type LoadOrgResourcesEnvironmentsEnvironment struct {
	MinimalEnvironmentFields `json:"-"`
}

LoadOrgResourcesEnvironmentsEnvironment includes the requested fields of the GraphQL type Environment.

func (*LoadOrgResourcesEnvironmentsEnvironment) GetId

GetId returns LoadOrgResourcesEnvironmentsEnvironment.Id, and is useful for accessing the field via an interface.

func (*LoadOrgResourcesEnvironmentsEnvironment) GetName

GetName returns LoadOrgResourcesEnvironmentsEnvironment.Name, and is useful for accessing the field via an interface.

func (*LoadOrgResourcesEnvironmentsEnvironment) MarshalJSON

func (v *LoadOrgResourcesEnvironmentsEnvironment) MarshalJSON() ([]byte, error)

func (*LoadOrgResourcesEnvironmentsEnvironment) UnmarshalJSON

func (v *LoadOrgResourcesEnvironmentsEnvironment) UnmarshalJSON(b []byte) error

type LoadOrgResourcesNamespacesNamespace

type LoadOrgResourcesNamespacesNamespace struct {
	MinimalNamespaceFields `json:"-"`
}

LoadOrgResourcesNamespacesNamespace includes the requested fields of the GraphQL type Namespace.

func (*LoadOrgResourcesNamespacesNamespace) GetCluster

GetCluster returns LoadOrgResourcesNamespacesNamespace.Cluster, and is useful for accessing the field via an interface.

func (*LoadOrgResourcesNamespacesNamespace) GetId

GetId returns LoadOrgResourcesNamespacesNamespace.Id, and is useful for accessing the field via an interface.

func (*LoadOrgResourcesNamespacesNamespace) GetName

GetName returns LoadOrgResourcesNamespacesNamespace.Name, and is useful for accessing the field via an interface.

func (*LoadOrgResourcesNamespacesNamespace) MarshalJSON

func (v *LoadOrgResourcesNamespacesNamespace) MarshalJSON() ([]byte, error)

func (*LoadOrgResourcesNamespacesNamespace) UnmarshalJSON

func (v *LoadOrgResourcesNamespacesNamespace) UnmarshalJSON(b []byte) error

type LoadOrgResourcesResponse

type LoadOrgResourcesResponse struct {
	// List clusters
	Clusters []LoadOrgResourcesClustersCluster `json:"clusters"`
	// List namespaces
	Namespaces []LoadOrgResourcesNamespacesNamespace `json:"namespaces"`
	// List environments
	Environments []LoadOrgResourcesEnvironmentsEnvironment `json:"environments"`
}

LoadOrgResourcesResponse is returned by LoadOrgResources on success.

func LoadOrgResources

func LoadOrgResources(
	ctx_ context.Context,
	client_ graphql.Client,
) (data_ *LoadOrgResourcesResponse, err_ error)

func (*LoadOrgResourcesResponse) GetClusters

GetClusters returns LoadOrgResourcesResponse.Clusters, and is useful for accessing the field via an interface.

func (*LoadOrgResourcesResponse) GetEnvironments

GetEnvironments returns LoadOrgResourcesResponse.Environments, and is useful for accessing the field via an interface.

func (*LoadOrgResourcesResponse) GetNamespaces

GetNamespaces returns LoadOrgResourcesResponse.Namespaces, and is useful for accessing the field via an interface.

type MeFields

type MeFields struct {
	// The logged-in user details.
	User MeFieldsUser `json:"user"`
	// The organizations to which the current logged-in user belongs.
	Organizations []MeFieldsOrganizationsOrganization `json:"organizations"`
}

MeFields includes the GraphQL fields of Me requested by the fragment MeFields.

func (*MeFields) GetOrganizations

func (v *MeFields) GetOrganizations() []MeFieldsOrganizationsOrganization

GetOrganizations returns MeFields.Organizations, and is useful for accessing the field via an interface.

func (*MeFields) GetUser

func (v *MeFields) GetUser() MeFieldsUser

GetUser returns MeFields.User, and is useful for accessing the field via an interface.

type MeFieldsOrganizationsOrganization

type MeFieldsOrganizationsOrganization struct {
	Id string `json:"id"`
}

MeFieldsOrganizationsOrganization includes the requested fields of the GraphQL type Organization.

func (*MeFieldsOrganizationsOrganization) GetId

GetId returns MeFieldsOrganizationsOrganization.Id, and is useful for accessing the field via an interface.

type MeFieldsUser

type MeFieldsUser struct {
	Id    string `json:"id"`
	Email string `json:"email"`
	Name  string `json:"name"`
}

MeFieldsUser includes the requested fields of the GraphQL type User.

func (*MeFieldsUser) GetEmail

func (v *MeFieldsUser) GetEmail() string

GetEmail returns MeFieldsUser.Email, and is useful for accessing the field via an interface.

func (*MeFieldsUser) GetId

func (v *MeFieldsUser) GetId() string

GetId returns MeFieldsUser.Id, and is useful for accessing the field via an interface.

func (*MeFieldsUser) GetName

func (v *MeFieldsUser) GetName() string

GetName returns MeFieldsUser.Name, and is useful for accessing the field via an interface.

type MinimalClusterFields

type MinimalClusterFields struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

MinimalClusterFields includes the GraphQL fields of Cluster requested by the fragment MinimalClusterFields.

func (*MinimalClusterFields) GetId

func (v *MinimalClusterFields) GetId() string

GetId returns MinimalClusterFields.Id, and is useful for accessing the field via an interface.

func (*MinimalClusterFields) GetName

func (v *MinimalClusterFields) GetName() string

GetName returns MinimalClusterFields.Name, and is useful for accessing the field via an interface.

type MinimalEnvironmentFields

type MinimalEnvironmentFields struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

MinimalEnvironmentFields includes the GraphQL fields of Environment requested by the fragment MinimalEnvironmentFields.

func (*MinimalEnvironmentFields) GetId

func (v *MinimalEnvironmentFields) GetId() string

GetId returns MinimalEnvironmentFields.Id, and is useful for accessing the field via an interface.

func (*MinimalEnvironmentFields) GetName

func (v *MinimalEnvironmentFields) GetName() string

GetName returns MinimalEnvironmentFields.Name, and is useful for accessing the field via an interface.

type MinimalNamespaceFields

type MinimalNamespaceFields struct {
	Id      string                        `json:"id"`
	Name    string                        `json:"name"`
	Cluster MinimalNamespaceFieldsCluster `json:"cluster"`
}

MinimalNamespaceFields includes the GraphQL fields of Namespace requested by the fragment MinimalNamespaceFields.

func (*MinimalNamespaceFields) GetCluster

GetCluster returns MinimalNamespaceFields.Cluster, and is useful for accessing the field via an interface.

func (*MinimalNamespaceFields) GetId

func (v *MinimalNamespaceFields) GetId() string

GetId returns MinimalNamespaceFields.Id, and is useful for accessing the field via an interface.

func (*MinimalNamespaceFields) GetName

func (v *MinimalNamespaceFields) GetName() string

GetName returns MinimalNamespaceFields.Name, and is useful for accessing the field via an interface.

type MinimalNamespaceFieldsCluster

type MinimalNamespaceFieldsCluster struct {
	MinimalClusterFields `json:"-"`
}

MinimalNamespaceFieldsCluster includes the requested fields of the GraphQL type Cluster.

func (*MinimalNamespaceFieldsCluster) GetId

GetId returns MinimalNamespaceFieldsCluster.Id, and is useful for accessing the field via an interface.

func (*MinimalNamespaceFieldsCluster) GetName

GetName returns MinimalNamespaceFieldsCluster.Name, and is useful for accessing the field via an interface.

func (*MinimalNamespaceFieldsCluster) MarshalJSON

func (v *MinimalNamespaceFieldsCluster) MarshalJSON() ([]byte, error)

func (*MinimalNamespaceFieldsCluster) UnmarshalJSON

func (v *MinimalNamespaceFieldsCluster) UnmarshalJSON(b []byte) error

type MinimalServiceFields

type MinimalServiceFields struct {
	Id        string                         `json:"id"`
	Name      string                         `json:"name"`
	Namespace *MinimalServiceFieldsNamespace `json:"namespace"`
}

MinimalServiceFields includes the GraphQL fields of Service requested by the fragment MinimalServiceFields.

func (*MinimalServiceFields) GetId

func (v *MinimalServiceFields) GetId() string

GetId returns MinimalServiceFields.Id, and is useful for accessing the field via an interface.

func (*MinimalServiceFields) GetName

func (v *MinimalServiceFields) GetName() string

GetName returns MinimalServiceFields.Name, and is useful for accessing the field via an interface.

func (*MinimalServiceFields) GetNamespace

GetNamespace returns MinimalServiceFields.Namespace, and is useful for accessing the field via an interface.

type MinimalServiceFieldsNamespace

type MinimalServiceFieldsNamespace struct {
	MinimalNamespaceFields `json:"-"`
}

MinimalServiceFieldsNamespace includes the requested fields of the GraphQL type Namespace.

func (*MinimalServiceFieldsNamespace) GetCluster

GetCluster returns MinimalServiceFieldsNamespace.Cluster, and is useful for accessing the field via an interface.

func (*MinimalServiceFieldsNamespace) GetId

GetId returns MinimalServiceFieldsNamespace.Id, and is useful for accessing the field via an interface.

func (*MinimalServiceFieldsNamespace) GetName

GetName returns MinimalServiceFieldsNamespace.Name, and is useful for accessing the field via an interface.

func (*MinimalServiceFieldsNamespace) MarshalJSON

func (v *MinimalServiceFieldsNamespace) MarshalJSON() ([]byte, error)

func (*MinimalServiceFieldsNamespace) UnmarshalJSON

func (v *MinimalServiceFieldsNamespace) UnmarshalJSON(b []byte) error

type SendCLITelemetryResponse

type SendCLITelemetryResponse struct {
	SendCLITelemetries bool `json:"sendCLITelemetries"`
}

SendCLITelemetryResponse is returned by SendCLITelemetry on success.

func SendCLITelemetry

func SendCLITelemetry(
	ctx_ context.Context,
	client_ graphql.Client,
	telemetry CLITelemetry,
) (data_ *SendCLITelemetryResponse, err_ error)

func (*SendCLITelemetryResponse) GetSendCLITelemetries

func (v *SendCLITelemetryResponse) GetSendCLITelemetries() bool

GetSendCLITelemetries returns SendCLITelemetryResponse.SendCLITelemetries, and is useful for accessing the field via an interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL