mapperclient

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 11 Imported by: 6

Documentation

Index

Constants

View Source
const (
	MapperServiceNameKey     = "mapper-service-name"
	MapperServiceNameDefault = "otterize-network-mapper"
	MapperNamespaceKey       = "mapper-namespace"
	MapperNamespaceDefault   = "otterize-system"
	MapperServicePortKey     = "mapper-service-port"
	MapperExcludeServices    = "exclude-services"
	MapperExcludeLabels      = "exclude-labels"
	MapperServicePortDefault = 9090
)

Variables

This section is empty.

Functions

func WithClient

func WithClient(f func(c *Client) error) error

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(address string) *Client

func (*Client) Intents added in v0.1.21

func (c *Client) Intents(ctx context.Context, namespaces, labels, excludeServiceWithLabels []string, serverName *ServerFilter) ([]IntentsIntentsIntent, error)

Intents is supported for network-mapper version >= 0.1.14

func (*Client) ListIntents added in v0.1.21

func (c *Client) ListIntents(ctx context.Context, namespaces []string, withLabelsFilter bool, labels, excludeServiceWithLabels []string, serverName *ServerFilter) ([]IntentsIntentsIntent, error)

func (*Client) ResetCapture

func (c *Client) ResetCapture(ctx context.Context) error

func (*Client) ServiceIntents

func (c *Client) ServiceIntents(ctx context.Context, namespaces []string) ([]ServiceIntentsUpToMapperV017ServiceIntents, error)

ServiceIntents is supported for network-mapper version < 0.1.13 Deprecated: Please use Client.Intents

func (*Client) ServiceIntentsWithLabels added in v0.1.12

func (c *Client) ServiceIntentsWithLabels(ctx context.Context, namespaces []string, labels []string) ([]ServiceIntentsWithLabelsServiceIntents, error)

ServiceIntentsWithLabels is supported for network-mapper version == 0.1.13 Deprecated: Please use Client.Intents

type HTTPError added in v0.1.12

type HTTPError struct {
	StatusCode int
	Body       []byte
}

func (HTTPError) Error added in v0.1.12

func (h HTTPError) Error() string

type HttpMethod added in v0.1.22

type HttpMethod string
const (
	HttpMethodGet     HttpMethod = "GET"
	HttpMethodPost    HttpMethod = "POST"
	HttpMethodPut     HttpMethod = "PUT"
	HttpMethodDelete  HttpMethod = "DELETE"
	HttpMethodOptions HttpMethod = "OPTIONS"
	HttpMethodTrace   HttpMethod = "TRACE"
	HttpMethodPatch   HttpMethod = "PATCH"
	HttpMethodConnect HttpMethod = "CONNECT"
	HttpMethodAll     HttpMethod = "ALL"
)

type IntentType added in v0.1.21

type IntentType string
const (
	IntentTypeHttp     IntentType = "HTTP"
	IntentTypeKafka    IntentType = "KAFKA"
	IntentTypeDatabase IntentType = "DATABASE"
	IntentTypeAws      IntentType = "AWS"
	IntentTypeS3       IntentType = "S3"
)

type IntentsIntentsIntent added in v0.1.21

type IntentsIntentsIntent struct {
	Client        IntentsIntentsIntentClientOtterizeServiceIdentity `json:"client"`
	Server        IntentsIntentsIntentServerOtterizeServiceIdentity `json:"server"`
	Type          IntentType                                        `json:"type"`
	KafkaTopics   []IntentsIntentsIntentKafkaTopicsKafkaConfig      `json:"kafkaTopics"`
	HttpResources []IntentsIntentsIntentHttpResourcesHttpResource   `json:"httpResources"`
}

IntentsIntentsIntent includes the requested fields of the GraphQL type Intent.

func (*IntentsIntentsIntent) GetClient added in v0.1.21

GetClient returns IntentsIntentsIntent.Client, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntent) GetHttpResources added in v0.1.22

GetHttpResources returns IntentsIntentsIntent.HttpResources, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntent) GetKafkaTopics added in v0.1.21

GetKafkaTopics returns IntentsIntentsIntent.KafkaTopics, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntent) GetServer added in v0.1.21

GetServer returns IntentsIntentsIntent.Server, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntent) GetType added in v0.1.21

func (v *IntentsIntentsIntent) GetType() IntentType

GetType returns IntentsIntentsIntent.Type, and is useful for accessing the field via an interface.

type IntentsIntentsIntentClientOtterizeServiceIdentity added in v0.1.21

type IntentsIntentsIntentClientOtterizeServiceIdentity struct {
	NamespacedNameWithLabelsFragment `json:"-"`
}

IntentsIntentsIntentClientOtterizeServiceIdentity includes the requested fields of the GraphQL type OtterizeServiceIdentity.

func (*IntentsIntentsIntentClientOtterizeServiceIdentity) GetKubernetesService added in v1.0.0

GetKubernetesService returns IntentsIntentsIntentClientOtterizeServiceIdentity.KubernetesService, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntentClientOtterizeServiceIdentity) GetLabels added in v0.1.21

GetLabels returns IntentsIntentsIntentClientOtterizeServiceIdentity.Labels, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntentClientOtterizeServiceIdentity) GetName added in v0.1.21

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

func (*IntentsIntentsIntentClientOtterizeServiceIdentity) GetNamespace added in v0.1.21

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

func (*IntentsIntentsIntentClientOtterizeServiceIdentity) GetPodOwnerKind added in v1.0.8

GetPodOwnerKind returns IntentsIntentsIntentClientOtterizeServiceIdentity.PodOwnerKind, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntentClientOtterizeServiceIdentity) MarshalJSON added in v0.1.21

func (*IntentsIntentsIntentClientOtterizeServiceIdentity) UnmarshalJSON added in v0.1.21

type IntentsIntentsIntentHttpResourcesHttpResource added in v0.1.22

type IntentsIntentsIntentHttpResourcesHttpResource struct {
	Path    string       `json:"path"`
	Methods []HttpMethod `json:"methods"`
}

IntentsIntentsIntentHttpResourcesHttpResource includes the requested fields of the GraphQL type HttpResource.

func (*IntentsIntentsIntentHttpResourcesHttpResource) GetMethods added in v0.1.22

GetMethods returns IntentsIntentsIntentHttpResourcesHttpResource.Methods, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntentHttpResourcesHttpResource) GetPath added in v0.1.22

GetPath returns IntentsIntentsIntentHttpResourcesHttpResource.Path, and is useful for accessing the field via an interface.

type IntentsIntentsIntentKafkaTopicsKafkaConfig added in v0.1.21

type IntentsIntentsIntentKafkaTopicsKafkaConfig struct {
	Name       string           `json:"name"`
	Operations []KafkaOperation `json:"operations"`
}

IntentsIntentsIntentKafkaTopicsKafkaConfig includes the requested fields of the GraphQL type KafkaConfig.

func (*IntentsIntentsIntentKafkaTopicsKafkaConfig) GetName added in v0.1.21

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

func (*IntentsIntentsIntentKafkaTopicsKafkaConfig) GetOperations added in v0.1.21

GetOperations returns IntentsIntentsIntentKafkaTopicsKafkaConfig.Operations, and is useful for accessing the field via an interface.

type IntentsIntentsIntentServerOtterizeServiceIdentity added in v0.1.21

type IntentsIntentsIntentServerOtterizeServiceIdentity struct {
	NamespacedNameWithLabelsFragment `json:"-"`
}

IntentsIntentsIntentServerOtterizeServiceIdentity includes the requested fields of the GraphQL type OtterizeServiceIdentity.

func (*IntentsIntentsIntentServerOtterizeServiceIdentity) GetKubernetesService added in v1.0.0

GetKubernetesService returns IntentsIntentsIntentServerOtterizeServiceIdentity.KubernetesService, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntentServerOtterizeServiceIdentity) GetLabels added in v0.1.21

GetLabels returns IntentsIntentsIntentServerOtterizeServiceIdentity.Labels, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntentServerOtterizeServiceIdentity) GetName added in v0.1.21

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

func (*IntentsIntentsIntentServerOtterizeServiceIdentity) GetNamespace added in v0.1.21

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

func (*IntentsIntentsIntentServerOtterizeServiceIdentity) GetPodOwnerKind added in v1.0.8

GetPodOwnerKind returns IntentsIntentsIntentServerOtterizeServiceIdentity.PodOwnerKind, and is useful for accessing the field via an interface.

func (*IntentsIntentsIntentServerOtterizeServiceIdentity) MarshalJSON added in v0.1.21

func (*IntentsIntentsIntentServerOtterizeServiceIdentity) UnmarshalJSON added in v0.1.21

type IntentsResponse added in v0.1.21

type IntentsResponse struct {
	// Query intents list.
	// namespaces: Namespaces filter.
	// includeLabels: Labels to include in the response. Ignored if includeAllLabels is specified.
	// excludeLabels: Labels to exclude from the response. Ignored if includeAllLabels is specified.
	// includeAllLabels: Return all labels for the pod in the response.
	Intents []IntentsIntentsIntent `json:"intents"`
}

IntentsResponse is returned by Intents on success.

func Intents added in v0.1.21

func Intents(
	ctx context.Context,
	client graphql.Client,
	namespaces []string,
	includedLabels []string,
	excludeServiceWithLabels []string,
	server *ServerFilter,
) (*IntentsResponse, error)

func (*IntentsResponse) GetIntents added in v0.1.21

func (v *IntentsResponse) GetIntents() []IntentsIntentsIntent

GetIntents returns IntentsResponse.Intents, and is useful for accessing the field via an interface.

type KafkaOperation added in v0.1.21

type KafkaOperation string
const (
	KafkaOperationAll             KafkaOperation = "ALL"
	KafkaOperationConsume         KafkaOperation = "CONSUME"
	KafkaOperationProduce         KafkaOperation = "PRODUCE"
	KafkaOperationCreate          KafkaOperation = "CREATE"
	KafkaOperationAlter           KafkaOperation = "ALTER"
	KafkaOperationDelete          KafkaOperation = "DELETE"
	KafkaOperationDescribe        KafkaOperation = "DESCRIBE"
	KafkaOperationClusterAction   KafkaOperation = "CLUSTER_ACTION"
	KafkaOperationDescribeConfigs KafkaOperation = "DESCRIBE_CONFIGS"
	KafkaOperationAlterConfigs    KafkaOperation = "ALTER_CONFIGS"
	KafkaOperationIdempotentWrite KafkaOperation = "IDEMPOTENT_WRITE"
)

type LabelsFragment added in v0.1.21

type LabelsFragment struct {
	Labels []LabelsFragmentLabelsPodLabel `json:"labels"`
}

LabelsFragment includes the GraphQL fields of OtterizeServiceIdentity requested by the fragment LabelsFragment.

func (*LabelsFragment) GetLabels added in v0.1.21

GetLabels returns LabelsFragment.Labels, and is useful for accessing the field via an interface.

type LabelsFragmentLabelsPodLabel added in v0.1.21

type LabelsFragmentLabelsPodLabel struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

LabelsFragmentLabelsPodLabel includes the requested fields of the GraphQL type PodLabel.

func (*LabelsFragmentLabelsPodLabel) GetKey added in v0.1.21

GetKey returns LabelsFragmentLabelsPodLabel.Key, and is useful for accessing the field via an interface.

func (*LabelsFragmentLabelsPodLabel) GetValue added in v0.1.21

func (v *LabelsFragmentLabelsPodLabel) GetValue() string

GetValue returns LabelsFragmentLabelsPodLabel.Value, and is useful for accessing the field via an interface.

type NamespacedNameFragment added in v0.1.12

type NamespacedNameFragment struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

NamespacedNameFragment includes the GraphQL fields of OtterizeServiceIdentity requested by the fragment NamespacedNameFragment.

func (*NamespacedNameFragment) GetName added in v0.1.12

func (v *NamespacedNameFragment) GetName() string

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

func (*NamespacedNameFragment) GetNamespace added in v0.1.12

func (v *NamespacedNameFragment) GetNamespace() string

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

type NamespacedNameWithLabelsFragment added in v0.1.21

type NamespacedNameWithLabelsFragment struct {
	NamespacedNameFragment `json:"-"`
	LabelsFragment         `json:"-"`
	PodOwnerKind           `json:"-"`
	// If the service identity was resolved from a Kubernetes service, its name.
	KubernetesService string `json:"kubernetesService"`
}

NamespacedNameWithLabelsFragment includes the GraphQL fields of OtterizeServiceIdentity requested by the fragment NamespacedNameWithLabelsFragment.

func (*NamespacedNameWithLabelsFragment) GetKubernetesService added in v1.0.0

func (v *NamespacedNameWithLabelsFragment) GetKubernetesService() string

GetKubernetesService returns NamespacedNameWithLabelsFragment.KubernetesService, and is useful for accessing the field via an interface.

func (*NamespacedNameWithLabelsFragment) GetLabels added in v0.1.21

GetLabels returns NamespacedNameWithLabelsFragment.Labels, and is useful for accessing the field via an interface.

func (*NamespacedNameWithLabelsFragment) GetName added in v0.1.21

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

func (*NamespacedNameWithLabelsFragment) GetNamespace added in v0.1.21

func (v *NamespacedNameWithLabelsFragment) GetNamespace() string

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

func (*NamespacedNameWithLabelsFragment) GetPodOwnerKind added in v1.0.8

GetPodOwnerKind returns NamespacedNameWithLabelsFragment.PodOwnerKind, and is useful for accessing the field via an interface.

func (*NamespacedNameWithLabelsFragment) MarshalJSON added in v0.1.21

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

func (*NamespacedNameWithLabelsFragment) UnmarshalJSON added in v0.1.21

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

type PodOwnerKind added in v1.0.8

type PodOwnerKind struct {
	// If the service identity was resolved from a pod owner, the GroupVersionKind of the pod owner.
	PodOwnerKind PodOwnerKindPodOwnerKindGroupVersionKind `json:"podOwnerKind"`
}

PodOwnerKind includes the GraphQL fields of OtterizeServiceIdentity requested by the fragment PodOwnerKind.

func (*PodOwnerKind) GetPodOwnerKind added in v1.0.8

GetPodOwnerKind returns PodOwnerKind.PodOwnerKind, and is useful for accessing the field via an interface.

type PodOwnerKindPodOwnerKindGroupVersionKind added in v1.0.8

type PodOwnerKindPodOwnerKindGroupVersionKind struct {
	Group   string `json:"group"`
	Version string `json:"version"`
	Kind    string `json:"kind"`
}

PodOwnerKindPodOwnerKindGroupVersionKind includes the requested fields of the GraphQL type GroupVersionKind.

func (*PodOwnerKindPodOwnerKindGroupVersionKind) GetGroup added in v1.0.8

GetGroup returns PodOwnerKindPodOwnerKindGroupVersionKind.Group, and is useful for accessing the field via an interface.

func (*PodOwnerKindPodOwnerKindGroupVersionKind) GetKind added in v1.0.8

GetKind returns PodOwnerKindPodOwnerKindGroupVersionKind.Kind, and is useful for accessing the field via an interface.

func (*PodOwnerKindPodOwnerKindGroupVersionKind) GetVersion added in v1.0.8

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

type ResetCaptureResponse

type ResetCaptureResponse struct {
	ResetCapture bool `json:"resetCapture"`
}

ResetCaptureResponse is returned by ResetCapture on success.

func ResetCapture

func ResetCapture(
	ctx context.Context,
	client graphql.Client,
) (*ResetCaptureResponse, error)

func (*ResetCaptureResponse) GetResetCapture

func (v *ResetCaptureResponse) GetResetCapture() bool

GetResetCapture returns ResetCaptureResponse.ResetCapture, and is useful for accessing the field via an interface.

type ServerFilter added in v0.1.28

type ServerFilter struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

func (*ServerFilter) GetName added in v0.1.28

func (v *ServerFilter) GetName() string

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

func (*ServerFilter) GetNamespace added in v0.1.28

func (v *ServerFilter) GetNamespace() string

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

type ServiceIntentsUpToMapperV017Response added in v0.1.12

type ServiceIntentsUpToMapperV017Response struct {
	// Kept for backwards compatibility with CLI -
	// query intents as (source+destinations) pairs, without any additional intent info.
	// namespaces: Namespaces filter.
	// includeLabels: Labels to include in the response. Ignored if includeAllLabels is specified.
	// includeAllLabels: Return all labels for the pod in the response.
	ServiceIntents []ServiceIntentsUpToMapperV017ServiceIntents `json:"serviceIntents"`
}

ServiceIntentsUpToMapperV017Response is returned by ServiceIntentsUpToMapperV017 on success.

func ServiceIntentsUpToMapperV017 added in v0.1.12

func ServiceIntentsUpToMapperV017(
	ctx context.Context,
	client graphql.Client,
	namespaces []string,
) (*ServiceIntentsUpToMapperV017Response, error)

func (*ServiceIntentsUpToMapperV017Response) GetServiceIntents added in v0.1.12

GetServiceIntents returns ServiceIntentsUpToMapperV017Response.ServiceIntents, and is useful for accessing the field via an interface.

type ServiceIntentsUpToMapperV017ServiceIntents added in v0.1.12

type ServiceIntentsUpToMapperV017ServiceIntents struct {
	Client  ServiceIntentsUpToMapperV017ServiceIntentsClientOtterizeServiceIdentity    `json:"client"`
	Intents []ServiceIntentsUpToMapperV017ServiceIntentsIntentsOtterizeServiceIdentity `json:"intents"`
}

ServiceIntentsUpToMapperV017ServiceIntents includes the requested fields of the GraphQL type ServiceIntents.

func (*ServiceIntentsUpToMapperV017ServiceIntents) GetClient added in v0.1.12

GetClient returns ServiceIntentsUpToMapperV017ServiceIntents.Client, and is useful for accessing the field via an interface.

func (*ServiceIntentsUpToMapperV017ServiceIntents) GetIntents added in v0.1.12

GetIntents returns ServiceIntentsUpToMapperV017ServiceIntents.Intents, and is useful for accessing the field via an interface.

type ServiceIntentsUpToMapperV017ServiceIntentsClientOtterizeServiceIdentity added in v0.1.12

type ServiceIntentsUpToMapperV017ServiceIntentsClientOtterizeServiceIdentity struct {
	NamespacedNameFragment `json:"-"`
}

ServiceIntentsUpToMapperV017ServiceIntentsClientOtterizeServiceIdentity includes the requested fields of the GraphQL type OtterizeServiceIdentity.

func (*ServiceIntentsUpToMapperV017ServiceIntentsClientOtterizeServiceIdentity) GetName added in v0.1.12

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

func (*ServiceIntentsUpToMapperV017ServiceIntentsClientOtterizeServiceIdentity) GetNamespace added in v0.1.12

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

func (*ServiceIntentsUpToMapperV017ServiceIntentsClientOtterizeServiceIdentity) MarshalJSON added in v0.1.12

func (*ServiceIntentsUpToMapperV017ServiceIntentsClientOtterizeServiceIdentity) UnmarshalJSON added in v0.1.12

type ServiceIntentsUpToMapperV017ServiceIntentsIntentsOtterizeServiceIdentity added in v0.1.12

type ServiceIntentsUpToMapperV017ServiceIntentsIntentsOtterizeServiceIdentity struct {
	NamespacedNameFragment `json:"-"`
}

ServiceIntentsUpToMapperV017ServiceIntentsIntentsOtterizeServiceIdentity includes the requested fields of the GraphQL type OtterizeServiceIdentity.

func (*ServiceIntentsUpToMapperV017ServiceIntentsIntentsOtterizeServiceIdentity) GetName added in v0.1.12

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

func (*ServiceIntentsUpToMapperV017ServiceIntentsIntentsOtterizeServiceIdentity) GetNamespace added in v0.1.12

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

func (*ServiceIntentsUpToMapperV017ServiceIntentsIntentsOtterizeServiceIdentity) MarshalJSON added in v0.1.12

func (*ServiceIntentsUpToMapperV017ServiceIntentsIntentsOtterizeServiceIdentity) UnmarshalJSON added in v0.1.12

type ServiceIntentsWithLabelsResponse added in v0.1.12

type ServiceIntentsWithLabelsResponse struct {
	// Kept for backwards compatibility with CLI -
	// query intents as (source+destinations) pairs, without any additional intent info.
	// namespaces: Namespaces filter.
	// includeLabels: Labels to include in the response. Ignored if includeAllLabels is specified.
	// includeAllLabels: Return all labels for the pod in the response.
	ServiceIntents []ServiceIntentsWithLabelsServiceIntents `json:"serviceIntents"`
}

ServiceIntentsWithLabelsResponse is returned by ServiceIntentsWithLabels on success.

func ServiceIntentsWithLabels added in v0.1.12

func ServiceIntentsWithLabels(
	ctx context.Context,
	client graphql.Client,
	namespaces []string,
	includedLabels []string,
) (*ServiceIntentsWithLabelsResponse, error)

func (*ServiceIntentsWithLabelsResponse) GetServiceIntents added in v0.1.12

GetServiceIntents returns ServiceIntentsWithLabelsResponse.ServiceIntents, and is useful for accessing the field via an interface.

type ServiceIntentsWithLabelsServiceIntents added in v0.1.12

type ServiceIntentsWithLabelsServiceIntents struct {
	Client  ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity    `json:"client"`
	Intents []ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity `json:"intents"`
}

ServiceIntentsWithLabelsServiceIntents includes the requested fields of the GraphQL type ServiceIntents.

func (*ServiceIntentsWithLabelsServiceIntents) GetClient added in v0.1.12

GetClient returns ServiceIntentsWithLabelsServiceIntents.Client, and is useful for accessing the field via an interface.

func (*ServiceIntentsWithLabelsServiceIntents) GetIntents added in v0.1.12

GetIntents returns ServiceIntentsWithLabelsServiceIntents.Intents, and is useful for accessing the field via an interface.

type ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity added in v0.1.12

type ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity struct {
	NamespacedNameWithLabelsFragment `json:"-"`
}

ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity includes the requested fields of the GraphQL type OtterizeServiceIdentity.

func (*ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity) GetKubernetesService added in v1.0.0

GetKubernetesService returns ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity.KubernetesService, and is useful for accessing the field via an interface.

func (*ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity) GetLabels added in v0.1.12

GetLabels returns ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity.Labels, and is useful for accessing the field via an interface.

func (*ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity) GetName added in v0.1.12

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

func (*ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity) GetNamespace added in v0.1.12

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

func (*ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity) GetPodOwnerKind added in v1.0.8

GetPodOwnerKind returns ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity.PodOwnerKind, and is useful for accessing the field via an interface.

func (*ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity) MarshalJSON added in v0.1.12

func (*ServiceIntentsWithLabelsServiceIntentsClientOtterizeServiceIdentity) UnmarshalJSON added in v0.1.12

type ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity added in v0.1.12

type ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity struct {
	NamespacedNameWithLabelsFragment `json:"-"`
}

ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity includes the requested fields of the GraphQL type OtterizeServiceIdentity.

func (*ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity) GetKubernetesService added in v1.0.0

GetKubernetesService returns ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity.KubernetesService, and is useful for accessing the field via an interface.

func (*ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity) GetLabels added in v0.1.12

GetLabels returns ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity.Labels, and is useful for accessing the field via an interface.

func (*ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity) GetName added in v0.1.12

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

func (*ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity) GetNamespace added in v0.1.12

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

func (*ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity) GetPodOwnerKind added in v1.0.8

GetPodOwnerKind returns ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity.PodOwnerKind, and is useful for accessing the field via an interface.

func (*ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity) MarshalJSON added in v0.1.12

func (*ServiceIntentsWithLabelsServiceIntentsIntentsOtterizeServiceIdentity) UnmarshalJSON added in v0.1.12

Jump to

Keyboard shortcuts

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