graphclient

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package graphclient provides the graph client for interacting with the load balancer api. WARNING: THIS IS ONLY MEANT TO BE USED INTERNALLY FOR TESTS The client in this folder is generated automatically by gqlgenc. For the client to be generated the api must be running and available on localhost.

Index

Constants

View Source
const GetLoadBalancerDocument = `` /* 179-byte string literal not displayed */
View Source
const GetLoadBalancerPoolDocument = `` /* 130-byte string literal not displayed */
View Source
const GetLoadBalancerPoolOriginDocument = `` /* 267-byte string literal not displayed */
View Source
const GetLoadBalancerPortDocument = `` /* 237-byte string literal not displayed */
View Source
const GetLoadBalancerProviderDocument = `` /* 137-byte string literal not displayed */
View Source
const GetOwnerLoadBalancersDocument = `` /* 271-byte string literal not displayed */
View Source
const LoadBalancerCreateDocument = `` /* 255-byte string literal not displayed */
View Source
const LoadBalancerDeleteDocument = `mutation LoadBalancerDelete ($id: ID!) {
	loadBalancerDelete(id: $id) {
		deletedID
	}
}
`
View Source
const LoadBalancerOriginCreateDocument = `` /* 236-byte string literal not displayed */
View Source
const LoadBalancerOriginDeleteDocument = `mutation LoadBalancerOriginDelete ($id: ID!) {
	loadBalancerOriginDelete(id: $id) {
		deletedID
	}
}
`
View Source
const LoadBalancerOriginUpdateDocument = `` /* 255-byte string literal not displayed */
View Source
const LoadBalancerPoolCreateDocument = `` /* 207-byte string literal not displayed */
View Source
const LoadBalancerPoolDeleteDocument = `mutation LoadBalancerPoolDelete ($id: ID!) {
	loadBalancerPoolDelete(id: $id) {
		deletedID
	}
}
`
View Source
const LoadBalancerPoolUpdateDocument = `` /* 226-byte string literal not displayed */
View Source
const LoadBalancerPortCreateDocument = `` /* 224-byte string literal not displayed */
View Source
const LoadBalancerPortDeleteDocument = `mutation LoadBalancerPortDelete ($id: ID!) {
	loadBalancerPortDelete(id: $id) {
		deletedID
	}
}
`
View Source
const LoadBalancerPortUpdateDocument = `` /* 213-byte string literal not displayed */
View Source
const LoadBalancerProviderCreateDocument = `` /* 223-byte string literal not displayed */
View Source
const LoadBalancerProviderDeleteDocument = `mutation LoadBalancerProviderDelete ($id: ID!) {
	loadBalancerProviderDelete(id: $id) {
		deletedID
	}
}
`
View Source
const LoadBalancerProviderUpdateDocument = `` /* 219-byte string literal not displayed */
View Source
const LoadBalancerUpdateDocument = `` /* 187-byte string literal not displayed */

Variables

Functions

This section is empty.

Types

type Client

type Client struct {
	Client *client.Client
}

func (*Client) GetLoadBalancer

func (c *Client) GetLoadBalancer(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*GetLoadBalancer, error)

func (*Client) GetLoadBalancerPool

func (c *Client) GetLoadBalancerPool(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*GetLoadBalancerPool, error)

func (*Client) GetLoadBalancerPoolOrigin

func (c *Client) GetLoadBalancerPoolOrigin(ctx context.Context, id gidx.PrefixedID, originid gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*GetLoadBalancerPoolOrigin, error)

func (*Client) GetLoadBalancerPort

func (c *Client) GetLoadBalancerPort(ctx context.Context, id gidx.PrefixedID, portid gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*GetLoadBalancerPort, error)

func (*Client) GetLoadBalancerProvider

func (c *Client) GetLoadBalancerProvider(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*GetLoadBalancerProvider, error)

func (*Client) GetOwnerLoadBalancers added in v0.0.18

func (c *Client) GetOwnerLoadBalancers(ctx context.Context, id gidx.PrefixedID, orderBy *LoadBalancerOrder, httpRequestOptions ...client.HTTPRequestOption) (*GetOwnerLoadBalancers, error)

func (*Client) LoadBalancerCreate

func (c *Client) LoadBalancerCreate(ctx context.Context, input CreateLoadBalancerInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerCreate, error)

func (*Client) LoadBalancerDelete

func (c *Client) LoadBalancerDelete(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerDelete, error)

func (*Client) LoadBalancerOriginCreate

func (c *Client) LoadBalancerOriginCreate(ctx context.Context, input CreateLoadBalancerOriginInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerOriginCreate, error)

func (*Client) LoadBalancerOriginDelete

func (c *Client) LoadBalancerOriginDelete(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerOriginDelete, error)

func (*Client) LoadBalancerOriginUpdate

func (c *Client) LoadBalancerOriginUpdate(ctx context.Context, id gidx.PrefixedID, input UpdateLoadBalancerOriginInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerOriginUpdate, error)

func (*Client) LoadBalancerPoolCreate

func (c *Client) LoadBalancerPoolCreate(ctx context.Context, input CreateLoadBalancerPoolInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPoolCreate, error)

func (*Client) LoadBalancerPoolDelete

func (c *Client) LoadBalancerPoolDelete(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPoolDelete, error)

func (*Client) LoadBalancerPoolUpdate

func (c *Client) LoadBalancerPoolUpdate(ctx context.Context, id gidx.PrefixedID, input UpdateLoadBalancerPoolInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPoolUpdate, error)

func (*Client) LoadBalancerPortCreate

func (c *Client) LoadBalancerPortCreate(ctx context.Context, input CreateLoadBalancerPortInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPortCreate, error)

func (*Client) LoadBalancerPortDelete

func (c *Client) LoadBalancerPortDelete(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPortDelete, error)

func (*Client) LoadBalancerPortUpdate

func (c *Client) LoadBalancerPortUpdate(ctx context.Context, id gidx.PrefixedID, input UpdateLoadBalancerPortInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPortUpdate, error)

func (*Client) LoadBalancerProviderCreate

func (c *Client) LoadBalancerProviderCreate(ctx context.Context, input CreateLoadBalancerProviderInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerProviderCreate, error)

func (*Client) LoadBalancerProviderDelete

func (c *Client) LoadBalancerProviderDelete(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerProviderDelete, error)

func (*Client) LoadBalancerProviderUpdate

func (c *Client) LoadBalancerProviderUpdate(ctx context.Context, id gidx.PrefixedID, input UpdateLoadBalancerProviderInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerProviderUpdate, error)

func (*Client) LoadBalancerUpdate

func (c *Client) LoadBalancerUpdate(ctx context.Context, id gidx.PrefixedID, input UpdateLoadBalancerInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerUpdate, error)

type CreateLoadBalancerInput

type CreateLoadBalancerInput struct {
	// The name of the load balancer.
	Name string `json:"name"`
	// The ID for the owner for this load balancer.
	OwnerID gidx.PrefixedID `json:"ownerID"`
	// The ID for the location of this load balancer.
	LocationID gidx.PrefixedID   `json:"locationID"`
	PortIDs    []gidx.PrefixedID `json:"portIDs,omitempty"`
	ProviderID gidx.PrefixedID   `json:"providerID"`
}

Input information to create a load balancer.

type CreateLoadBalancerOriginInput

type CreateLoadBalancerOriginInput struct {
	Name       string          `json:"name"`
	Weight     *int64          `json:"weight,omitempty"`
	Target     string          `json:"target"`
	PortNumber int64           `json:"portNumber"`
	Active     *bool           `json:"active,omitempty"`
	PoolID     gidx.PrefixedID `json:"poolID"`
}

CreateLoadBalancerOriginInput is used for create LoadBalancerOrigin object. Input was generated by ent.

type CreateLoadBalancerPoolInput

type CreateLoadBalancerPoolInput struct {
	Name      string                   `json:"name"`
	Protocol  LoadBalancerPoolProtocol `json:"protocol"`
	OwnerID   gidx.PrefixedID          `json:"ownerID"`
	PortIDs   []gidx.PrefixedID        `json:"portIDs,omitempty"`
	OriginIDs []gidx.PrefixedID        `json:"originIDs,omitempty"`
}

CreateLoadBalancerPoolInput is used for create LoadBalancerPool object. Input was generated by ent.

type CreateLoadBalancerPortInput

type CreateLoadBalancerPortInput struct {
	Number         int64             `json:"number"`
	Name           string            `json:"name"`
	PoolIDs        []gidx.PrefixedID `json:"poolIDs,omitempty"`
	LoadBalancerID gidx.PrefixedID   `json:"loadBalancerID"`
}

CreateLoadBalancerPortInput is used for create LoadBalancerPort object. Input was generated by ent.

type CreateLoadBalancerProviderInput

type CreateLoadBalancerProviderInput struct {
	// The name of the load balancer provider.
	Name string `json:"name"`
	// The ID for the owner for this load balancer.
	OwnerID gidx.PrefixedID `json:"ownerID"`
}

Input information to create a load balancer provider.

type Entity

type Entity interface {
	IsEntity()
}

type GetLoadBalancer

type GetLoadBalancer struct {
	LoadBalancer struct {
		ID       gidx.PrefixedID "json:\"id\" graphql:\"id\""
		Name     string          "json:\"name\" graphql:\"name\""
		Location struct {
			ID gidx.PrefixedID "json:\"id\" graphql:\"id\""
		} "json:\"location\" graphql:\"location\""
		LoadBalancerProvider struct {
			ID gidx.PrefixedID "json:\"id\" graphql:\"id\""
		} "json:\"loadBalancerProvider\" graphql:\"loadBalancerProvider\""
		Owner struct {
			ID gidx.PrefixedID "json:\"id\" graphql:\"id\""
		} "json:\"owner\" graphql:\"owner\""
		CreatedAt time.Time "json:\"createdAt\" graphql:\"createdAt\""
		UpdatedAt time.Time "json:\"updatedAt\" graphql:\"updatedAt\""
	} "json:\"loadBalancer\" graphql:\"loadBalancer\""
}

type GetLoadBalancerPool

type GetLoadBalancerPool struct {
	LoadBalancerPool struct {
		ID        gidx.PrefixedID          "json:\"id\" graphql:\"id\""
		Name      string                   "json:\"name\" graphql:\"name\""
		Protocol  LoadBalancerPoolProtocol "json:\"protocol\" graphql:\"protocol\""
		OwnerID   gidx.PrefixedID          "json:\"ownerID\" graphql:\"ownerID\""
		CreatedAt time.Time                "json:\"createdAt\" graphql:\"createdAt\""
		UpdatedAt time.Time                "json:\"updatedAt\" graphql:\"updatedAt\""
	} "json:\"loadBalancerPool\" graphql:\"loadBalancerPool\""
}

type GetLoadBalancerPoolOrigin

type GetLoadBalancerPoolOrigin struct {
	LoadBalancerPool struct {
		Origins struct {
			Edges []*struct {
				Node *struct {
					ID         gidx.PrefixedID "json:\"id\" graphql:\"id\""
					Name       string          "json:\"name\" graphql:\"name\""
					Target     string          "json:\"target\" graphql:\"target\""
					PortNumber int64           "json:\"portNumber\" graphql:\"portNumber\""
					Active     bool            "json:\"active\" graphql:\"active\""
					PoolID     gidx.PrefixedID "json:\"poolID\" graphql:\"poolID\""
					CreatedAt  time.Time       "json:\"createdAt\" graphql:\"createdAt\""
					UpdatedAt  time.Time       "json:\"updatedAt\" graphql:\"updatedAt\""
				} "json:\"node\" graphql:\"node\""
			} "json:\"edges\" graphql:\"edges\""
		} "json:\"origins\" graphql:\"origins\""
	} "json:\"loadBalancerPool\" graphql:\"loadBalancerPool\""
}

type GetLoadBalancerPort

type GetLoadBalancerPort struct {
	LoadBalancer struct {
		Ports struct {
			Edges []*struct {
				Node *struct {
					ID           gidx.PrefixedID "json:\"id\" graphql:\"id\""
					Number       int64           "json:\"number\" graphql:\"number\""
					LoadBalancer struct {
						ID gidx.PrefixedID "json:\"id\" graphql:\"id\""
					} "json:\"loadBalancer\" graphql:\"loadBalancer\""
					CreatedAt time.Time "json:\"createdAt\" graphql:\"createdAt\""
					UpdatedAt time.Time "json:\"updatedAt\" graphql:\"updatedAt\""
				} "json:\"node\" graphql:\"node\""
			} "json:\"edges\" graphql:\"edges\""
		} "json:\"ports\" graphql:\"ports\""
	} "json:\"loadBalancer\" graphql:\"loadBalancer\""
}

type GetLoadBalancerProvider

type GetLoadBalancerProvider struct {
	LoadBalancerProvider struct {
		ID    gidx.PrefixedID "json:\"id\" graphql:\"id\""
		Name  string          "json:\"name\" graphql:\"name\""
		Owner struct {
			ID gidx.PrefixedID "json:\"id\" graphql:\"id\""
		} "json:\"owner\" graphql:\"owner\""
		CreatedAt time.Time "json:\"createdAt\" graphql:\"createdAt\""
		UpdatedAt time.Time "json:\"updatedAt\" graphql:\"updatedAt\""
	} "json:\"loadBalancerProvider\" graphql:\"loadBalancerProvider\""
}

type GetOwnerLoadBalancers added in v0.0.18

type GetOwnerLoadBalancers struct {
	Entities []*struct {
		LoadBalancers struct {
			Edges []*struct {
				Node *struct {
					ID   gidx.PrefixedID "json:\"id\" graphql:\"id\""
					Name string          "json:\"name\" graphql:\"name\""
				} "json:\"node\" graphql:\"node\""
			} "json:\"edges\" graphql:\"edges\""
		} "json:\"loadBalancers\" graphql:\"loadBalancers\""
	} "json:\"_entities\" graphql:\"_entities\""
}

type GraphClient

type GraphClient interface {
	GetLoadBalancer(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*GetLoadBalancer, error)
	GetLoadBalancerPool(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*GetLoadBalancerPool, error)
	GetLoadBalancerPoolOrigin(ctx context.Context, id gidx.PrefixedID, originid gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*GetLoadBalancerPoolOrigin, error)
	GetLoadBalancerPort(ctx context.Context, id gidx.PrefixedID, portid gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*GetLoadBalancerPort, error)
	GetLoadBalancerProvider(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*GetLoadBalancerProvider, error)
	GetOwnerLoadBalancers(ctx context.Context, id gidx.PrefixedID, orderBy *LoadBalancerOrder, httpRequestOptions ...client.HTTPRequestOption) (*GetOwnerLoadBalancers, error)
	LoadBalancerCreate(ctx context.Context, input CreateLoadBalancerInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerCreate, error)
	LoadBalancerDelete(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerDelete, error)
	LoadBalancerOriginCreate(ctx context.Context, input CreateLoadBalancerOriginInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerOriginCreate, error)
	LoadBalancerOriginDelete(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerOriginDelete, error)
	LoadBalancerOriginUpdate(ctx context.Context, id gidx.PrefixedID, input UpdateLoadBalancerOriginInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerOriginUpdate, error)
	LoadBalancerPoolCreate(ctx context.Context, input CreateLoadBalancerPoolInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPoolCreate, error)
	LoadBalancerPoolDelete(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPoolDelete, error)
	LoadBalancerPoolUpdate(ctx context.Context, id gidx.PrefixedID, input UpdateLoadBalancerPoolInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPoolUpdate, error)
	LoadBalancerPortCreate(ctx context.Context, input CreateLoadBalancerPortInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPortCreate, error)
	LoadBalancerPortDelete(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPortDelete, error)
	LoadBalancerPortUpdate(ctx context.Context, id gidx.PrefixedID, input UpdateLoadBalancerPortInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerPortUpdate, error)
	LoadBalancerProviderCreate(ctx context.Context, input CreateLoadBalancerProviderInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerProviderCreate, error)
	LoadBalancerProviderDelete(ctx context.Context, id gidx.PrefixedID, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerProviderDelete, error)
	LoadBalancerProviderUpdate(ctx context.Context, id gidx.PrefixedID, input UpdateLoadBalancerProviderInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerProviderUpdate, error)
	LoadBalancerUpdate(ctx context.Context, id gidx.PrefixedID, input UpdateLoadBalancerInput, httpRequestOptions ...client.HTTPRequestOption) (*LoadBalancerUpdate, error)
}

func NewClient

func NewClient(cli *http.Client, baseURL string, options ...client.HTTPRequestOption) GraphClient

type IPAddressable added in v0.0.20

type IPAddressable interface {
	IsIPAddressable()
	GetID() gidx.PrefixedID
}

type LoadBalancer

type LoadBalancer struct {
	// The ID for the load balancer.
	ID        gidx.PrefixedID `json:"id"`
	CreatedAt time.Time       `json:"createdAt"`
	UpdatedAt time.Time       `json:"updatedAt"`
	// The name of the load balancer.
	Name  string                     `json:"name"`
	Ports LoadBalancerPortConnection `json:"ports"`
	// The load balancer provider for the load balancer.
	LoadBalancerProvider LoadBalancerProvider `json:"loadBalancerProvider"`
	// The location of the load balancer.
	Location Location `json:"location"`
	// The owner of the load balancer.
	Owner ResourceOwner `json:"owner"`
}

func (LoadBalancer) GetID

func (this LoadBalancer) GetID() gidx.PrefixedID

func (LoadBalancer) IsEntity

func (LoadBalancer) IsEntity()

func (LoadBalancer) IsIPAddressable added in v0.0.20

func (LoadBalancer) IsIPAddressable()

func (LoadBalancer) IsMetadataNode added in v0.0.27

func (LoadBalancer) IsMetadataNode()

func (LoadBalancer) IsNode

func (LoadBalancer) IsNode()

type LoadBalancerConnection

type LoadBalancerConnection struct {
	// A list of edges.
	Edges []*LoadBalancerEdge `json:"edges,omitempty"`
	// Information to aid in pagination.
	PageInfo PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int64 `json:"totalCount"`
}

A connection to a list of items.

type LoadBalancerCreate

type LoadBalancerCreate struct {
	LoadBalancerCreate struct {
		LoadBalancer struct {
			ID                   gidx.PrefixedID "json:\"id\" graphql:\"id\""
			Name                 string          "json:\"name\" graphql:\"name\""
			LoadBalancerProvider struct {
				ID gidx.PrefixedID "json:\"id\" graphql:\"id\""
			} "json:\"loadBalancerProvider\" graphql:\"loadBalancerProvider\""
			Owner struct {
				ID gidx.PrefixedID "json:\"id\" graphql:\"id\""
			} "json:\"owner\" graphql:\"owner\""
			Location struct {
				ID gidx.PrefixedID "json:\"id\" graphql:\"id\""
			} "json:\"location\" graphql:\"location\""
			CreatedAt time.Time "json:\"createdAt\" graphql:\"createdAt\""
			UpdatedAt time.Time "json:\"updatedAt\" graphql:\"updatedAt\""
		} "json:\"loadBalancer\" graphql:\"loadBalancer\""
	} "json:\"loadBalancerCreate\" graphql:\"loadBalancerCreate\""
}

type LoadBalancerCreatePayload

type LoadBalancerCreatePayload struct {
	// The created load balancer.
	LoadBalancer LoadBalancer `json:"loadBalancer"`
}

Return response from loadBalancerCreate

type LoadBalancerDelete

type LoadBalancerDelete struct {
	LoadBalancerDelete struct {
		DeletedID gidx.PrefixedID "json:\"deletedID\" graphql:\"deletedID\""
	} "json:\"loadBalancerDelete\" graphql:\"loadBalancerDelete\""
}

type LoadBalancerDeletePayload

type LoadBalancerDeletePayload struct {
	// The ID of the deleted load balancer.
	DeletedID gidx.PrefixedID `json:"deletedID"`
}

Return response from loadBalancerDelete

type LoadBalancerEdge

type LoadBalancerEdge struct {
	// The item at the end of the edge.
	Node *LoadBalancer `json:"node,omitempty"`
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
}

An edge in a connection.

type LoadBalancerOrder

type LoadBalancerOrder struct {
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
	// The field by which to order LoadBalancers.
	Field LoadBalancerOrderField `json:"field"`
}

Ordering options for LoadBalancer connections

type LoadBalancerOrderField

type LoadBalancerOrderField string

Properties by which LoadBalancer connections can be ordered.

const (
	LoadBalancerOrderFieldID        LoadBalancerOrderField = "ID"
	LoadBalancerOrderFieldCreatedAt LoadBalancerOrderField = "CREATED_AT"
	LoadBalancerOrderFieldUpdatedAt LoadBalancerOrderField = "UPDATED_AT"
	LoadBalancerOrderFieldName      LoadBalancerOrderField = "NAME"
	LoadBalancerOrderFieldOwner     LoadBalancerOrderField = "OWNER"
)

func (LoadBalancerOrderField) IsValid

func (e LoadBalancerOrderField) IsValid() bool

func (LoadBalancerOrderField) MarshalGQL

func (e LoadBalancerOrderField) MarshalGQL(w io.Writer)

func (LoadBalancerOrderField) String

func (e LoadBalancerOrderField) String() string

func (*LoadBalancerOrderField) UnmarshalGQL

func (e *LoadBalancerOrderField) UnmarshalGQL(v interface{}) error

type LoadBalancerOrigin

type LoadBalancerOrigin struct {
	ID         gidx.PrefixedID  `json:"id"`
	CreatedAt  time.Time        `json:"createdAt"`
	UpdatedAt  time.Time        `json:"updatedAt"`
	Name       string           `json:"name"`
	Weight     int64            `json:"weight"`
	Target     string           `json:"target"`
	PortNumber int64            `json:"portNumber"`
	Active     bool             `json:"active"`
	PoolID     gidx.PrefixedID  `json:"poolID"`
	Pool       LoadBalancerPool `json:"pool"`
}

func (LoadBalancerOrigin) GetID

func (this LoadBalancerOrigin) GetID() gidx.PrefixedID

The id of the object.

func (LoadBalancerOrigin) IsEntity

func (LoadBalancerOrigin) IsEntity()

func (LoadBalancerOrigin) IsNode

func (LoadBalancerOrigin) IsNode()

type LoadBalancerOriginConnection

type LoadBalancerOriginConnection struct {
	// A list of edges.
	Edges []*LoadBalancerOriginEdge `json:"edges,omitempty"`
	// Information to aid in pagination.
	PageInfo PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int64 `json:"totalCount"`
}

A connection to a list of items.

type LoadBalancerOriginCreate

type LoadBalancerOriginCreate struct {
	LoadBalancerOriginCreate struct {
		LoadBalancerOrigin struct {
			ID         gidx.PrefixedID "json:\"id\" graphql:\"id\""
			Active     bool            "json:\"active\" graphql:\"active\""
			Name       string          "json:\"name\" graphql:\"name\""
			PortNumber int64           "json:\"portNumber\" graphql:\"portNumber\""
			Target     string          "json:\"target\" graphql:\"target\""
			PoolID     gidx.PrefixedID "json:\"poolID\" graphql:\"poolID\""
			CreatedAt  time.Time       "json:\"createdAt\" graphql:\"createdAt\""
			UpdatedAt  time.Time       "json:\"updatedAt\" graphql:\"updatedAt\""
		} "json:\"loadBalancerOrigin\" graphql:\"loadBalancerOrigin\""
	} "json:\"loadBalancerOriginCreate\" graphql:\"loadBalancerOriginCreate\""
}

type LoadBalancerOriginCreatePayload

type LoadBalancerOriginCreatePayload struct {
	// The created pool origin.
	LoadBalancerOrigin LoadBalancerOrigin `json:"loadBalancerOrigin"`
}

Return response from loadBalancerOriginCreate

type LoadBalancerOriginDelete

type LoadBalancerOriginDelete struct {
	LoadBalancerOriginDelete struct {
		DeletedID gidx.PrefixedID "json:\"deletedID\" graphql:\"deletedID\""
	} "json:\"loadBalancerOriginDelete\" graphql:\"loadBalancerOriginDelete\""
}

type LoadBalancerOriginDeletePayload

type LoadBalancerOriginDeletePayload struct {
	// The deleted pool origin.
	DeletedID gidx.PrefixedID `json:"deletedID"`
}

Return response from loadBalancerOriginDelete

type LoadBalancerOriginEdge

type LoadBalancerOriginEdge struct {
	// The item at the end of the edge.
	Node *LoadBalancerOrigin `json:"node,omitempty"`
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
}

An edge in a connection.

type LoadBalancerOriginOrder

type LoadBalancerOriginOrder struct {
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
	// The field by which to order LoadBalancerOrigins.
	Field LoadBalancerOriginOrderField `json:"field"`
}

Ordering options for LoadBalancerOrigin connections

type LoadBalancerOriginOrderField

type LoadBalancerOriginOrderField string

Properties by which LoadBalancerOrigin connections can be ordered.

const (
	LoadBalancerOriginOrderFieldCreatedAt LoadBalancerOriginOrderField = "CREATED_AT"
	LoadBalancerOriginOrderFieldUpdatedAt LoadBalancerOriginOrderField = "UPDATED_AT"
	LoadBalancerOriginOrderFieldName      LoadBalancerOriginOrderField = "name"
	LoadBalancerOriginOrderFieldWeight    LoadBalancerOriginOrderField = "weight"
	LoadBalancerOriginOrderFieldTarget    LoadBalancerOriginOrderField = "target"
	LoadBalancerOriginOrderFieldNumber    LoadBalancerOriginOrderField = "number"
	LoadBalancerOriginOrderFieldActive    LoadBalancerOriginOrderField = "active"
)

func (LoadBalancerOriginOrderField) IsValid

func (e LoadBalancerOriginOrderField) IsValid() bool

func (LoadBalancerOriginOrderField) MarshalGQL

func (e LoadBalancerOriginOrderField) MarshalGQL(w io.Writer)

func (LoadBalancerOriginOrderField) String

func (*LoadBalancerOriginOrderField) UnmarshalGQL

func (e *LoadBalancerOriginOrderField) UnmarshalGQL(v interface{}) error

type LoadBalancerOriginUpdate

type LoadBalancerOriginUpdate struct {
	LoadBalancerOriginUpdate struct {
		LoadBalancerOrigin struct {
			ID         gidx.PrefixedID "json:\"id\" graphql:\"id\""
			Active     bool            "json:\"active\" graphql:\"active\""
			Name       string          "json:\"name\" graphql:\"name\""
			PortNumber int64           "json:\"portNumber\" graphql:\"portNumber\""
			Target     string          "json:\"target\" graphql:\"target\""
			PoolID     gidx.PrefixedID "json:\"poolID\" graphql:\"poolID\""
			CreatedAt  time.Time       "json:\"createdAt\" graphql:\"createdAt\""
			UpdatedAt  time.Time       "json:\"updatedAt\" graphql:\"updatedAt\""
		} "json:\"loadBalancerOrigin\" graphql:\"loadBalancerOrigin\""
	} "json:\"loadBalancerOriginUpdate\" graphql:\"loadBalancerOriginUpdate\""
}

type LoadBalancerOriginUpdatePayload

type LoadBalancerOriginUpdatePayload struct {
	// The updated pool origin.
	LoadBalancerOrigin LoadBalancerOrigin `json:"loadBalancerOrigin"`
}

Return response from loadBalancerOriginUpdate

type LoadBalancerOriginWhereInput

type LoadBalancerOriginWhereInput struct {
	Not *LoadBalancerOriginWhereInput   `json:"not,omitempty"`
	And []*LoadBalancerOriginWhereInput `json:"and,omitempty"`
	Or  []*LoadBalancerOriginWhereInput `json:"or,omitempty"`
	// id field predicates
	ID      *gidx.PrefixedID  `json:"id,omitempty"`
	IDNeq   *gidx.PrefixedID  `json:"idNEQ,omitempty"`
	IDIn    []gidx.PrefixedID `json:"idIn,omitempty"`
	IDNotIn []gidx.PrefixedID `json:"idNotIn,omitempty"`
	IDGt    *gidx.PrefixedID  `json:"idGT,omitempty"`
	IDGte   *gidx.PrefixedID  `json:"idGTE,omitempty"`
	IDLt    *gidx.PrefixedID  `json:"idLT,omitempty"`
	IDLte   *gidx.PrefixedID  `json:"idLTE,omitempty"`
	// created_at field predicates
	CreatedAt      *time.Time   `json:"createdAt,omitempty"`
	CreatedAtNeq   *time.Time   `json:"createdAtNEQ,omitempty"`
	CreatedAtIn    []*time.Time `json:"createdAtIn,omitempty"`
	CreatedAtNotIn []*time.Time `json:"createdAtNotIn,omitempty"`
	CreatedAtGt    *time.Time   `json:"createdAtGT,omitempty"`
	CreatedAtGte   *time.Time   `json:"createdAtGTE,omitempty"`
	CreatedAtLt    *time.Time   `json:"createdAtLT,omitempty"`
	CreatedAtLte   *time.Time   `json:"createdAtLTE,omitempty"`
	// updated_at field predicates
	UpdatedAt      *time.Time   `json:"updatedAt,omitempty"`
	UpdatedAtNeq   *time.Time   `json:"updatedAtNEQ,omitempty"`
	UpdatedAtIn    []*time.Time `json:"updatedAtIn,omitempty"`
	UpdatedAtNotIn []*time.Time `json:"updatedAtNotIn,omitempty"`
	UpdatedAtGt    *time.Time   `json:"updatedAtGT,omitempty"`
	UpdatedAtGte   *time.Time   `json:"updatedAtGTE,omitempty"`
	UpdatedAtLt    *time.Time   `json:"updatedAtLT,omitempty"`
	UpdatedAtLte   *time.Time   `json:"updatedAtLTE,omitempty"`
	// name field predicates
	Name             *string  `json:"name,omitempty"`
	NameNeq          *string  `json:"nameNEQ,omitempty"`
	NameIn           []string `json:"nameIn,omitempty"`
	NameNotIn        []string `json:"nameNotIn,omitempty"`
	NameGt           *string  `json:"nameGT,omitempty"`
	NameGte          *string  `json:"nameGTE,omitempty"`
	NameLt           *string  `json:"nameLT,omitempty"`
	NameLte          *string  `json:"nameLTE,omitempty"`
	NameContains     *string  `json:"nameContains,omitempty"`
	NameHasPrefix    *string  `json:"nameHasPrefix,omitempty"`
	NameHasSuffix    *string  `json:"nameHasSuffix,omitempty"`
	NameEqualFold    *string  `json:"nameEqualFold,omitempty"`
	NameContainsFold *string  `json:"nameContainsFold,omitempty"`
	// weight field predicates
	Weight      *int64  `json:"weight,omitempty"`
	WeightNeq   *int64  `json:"weightNEQ,omitempty"`
	WeightIn    []int64 `json:"weightIn,omitempty"`
	WeightNotIn []int64 `json:"weightNotIn,omitempty"`
	WeightGt    *int64  `json:"weightGT,omitempty"`
	WeightGte   *int64  `json:"weightGTE,omitempty"`
	WeightLt    *int64  `json:"weightLT,omitempty"`
	WeightLte   *int64  `json:"weightLTE,omitempty"`
	// target field predicates
	Target             *string  `json:"target,omitempty"`
	TargetNeq          *string  `json:"targetNEQ,omitempty"`
	TargetIn           []string `json:"targetIn,omitempty"`
	TargetNotIn        []string `json:"targetNotIn,omitempty"`
	TargetGt           *string  `json:"targetGT,omitempty"`
	TargetGte          *string  `json:"targetGTE,omitempty"`
	TargetLt           *string  `json:"targetLT,omitempty"`
	TargetLte          *string  `json:"targetLTE,omitempty"`
	TargetContains     *string  `json:"targetContains,omitempty"`
	TargetHasPrefix    *string  `json:"targetHasPrefix,omitempty"`
	TargetHasSuffix    *string  `json:"targetHasSuffix,omitempty"`
	TargetEqualFold    *string  `json:"targetEqualFold,omitempty"`
	TargetContainsFold *string  `json:"targetContainsFold,omitempty"`
	// port_number field predicates
	PortNumber      *int64  `json:"portNumber,omitempty"`
	PortNumberNeq   *int64  `json:"portNumberNEQ,omitempty"`
	PortNumberIn    []int64 `json:"portNumberIn,omitempty"`
	PortNumberNotIn []int64 `json:"portNumberNotIn,omitempty"`
	PortNumberGt    *int64  `json:"portNumberGT,omitempty"`
	PortNumberGte   *int64  `json:"portNumberGTE,omitempty"`
	PortNumberLt    *int64  `json:"portNumberLT,omitempty"`
	PortNumberLte   *int64  `json:"portNumberLTE,omitempty"`
	// active field predicates
	Active    *bool `json:"active,omitempty"`
	ActiveNeq *bool `json:"activeNEQ,omitempty"`
	// pool edge predicates
	HasPool     *bool                         `json:"hasPool,omitempty"`
	HasPoolWith []*LoadBalancerPoolWhereInput `json:"hasPoolWith,omitempty"`
}

LoadBalancerOriginWhereInput is used for filtering Origin objects. Input was generated by ent.

type LoadBalancerPool

type LoadBalancerPool struct {
	ID        gidx.PrefixedID              `json:"id"`
	CreatedAt time.Time                    `json:"createdAt"`
	UpdatedAt time.Time                    `json:"updatedAt"`
	Name      string                       `json:"name"`
	Protocol  LoadBalancerPoolProtocol     `json:"protocol"`
	OwnerID   gidx.PrefixedID              `json:"ownerID"`
	Ports     []*LoadBalancerPort          `json:"ports,omitempty"`
	Origins   LoadBalancerOriginConnection `json:"origins"`
	// The owner of the load balancer pool.
	Owner ResourceOwner `json:"owner"`
}

func (LoadBalancerPool) GetID

func (this LoadBalancerPool) GetID() gidx.PrefixedID

The id of the object.

func (LoadBalancerPool) IsEntity

func (LoadBalancerPool) IsEntity()

func (LoadBalancerPool) IsNode

func (LoadBalancerPool) IsNode()

type LoadBalancerPoolConnection

type LoadBalancerPoolConnection struct {
	// A list of edges.
	Edges []*LoadBalancerPoolEdge `json:"edges,omitempty"`
	// Information to aid in pagination.
	PageInfo PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int64 `json:"totalCount"`
}

A connection to a list of items.

type LoadBalancerPoolCreate

type LoadBalancerPoolCreate struct {
	LoadBalancerPoolCreate struct {
		LoadBalancerPool struct {
			ID        gidx.PrefixedID          "json:\"id\" graphql:\"id\""
			Name      string                   "json:\"name\" graphql:\"name\""
			Protocol  LoadBalancerPoolProtocol "json:\"protocol\" graphql:\"protocol\""
			OwnerID   gidx.PrefixedID          "json:\"ownerID\" graphql:\"ownerID\""
			CreatedAt time.Time                "json:\"createdAt\" graphql:\"createdAt\""
			UpdatedAt time.Time                "json:\"updatedAt\" graphql:\"updatedAt\""
		} "json:\"loadBalancerPool\" graphql:\"loadBalancerPool\""
	} "json:\"loadBalancerPoolCreate\" graphql:\"loadBalancerPoolCreate\""
}

type LoadBalancerPoolCreatePayload

type LoadBalancerPoolCreatePayload struct {
	// The created pool.
	LoadBalancerPool LoadBalancerPool `json:"loadBalancerPool"`
}

Return response from LoadBalancerPoolCreate

type LoadBalancerPoolDelete

type LoadBalancerPoolDelete struct {
	LoadBalancerPoolDelete struct {
		DeletedID *gidx.PrefixedID "json:\"deletedID\" graphql:\"deletedID\""
	} "json:\"loadBalancerPoolDelete\" graphql:\"loadBalancerPoolDelete\""
}

type LoadBalancerPoolDeletePayload

type LoadBalancerPoolDeletePayload struct {
	// The ID of the deleted pool.
	DeletedID *gidx.PrefixedID `json:"deletedID,omitempty"`
}

Return response from LoadBalancerPoolDelete

type LoadBalancerPoolEdge

type LoadBalancerPoolEdge struct {
	// The item at the end of the edge.
	Node *LoadBalancerPool `json:"node,omitempty"`
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
}

An edge in a connection.

type LoadBalancerPoolOrder

type LoadBalancerPoolOrder struct {
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
	// The field by which to order LoadBalancerPools.
	Field LoadBalancerPoolOrderField `json:"field"`
}

Ordering options for LoadBalancerPool connections

type LoadBalancerPoolOrderField

type LoadBalancerPoolOrderField string

Properties by which LoadBalancerPool connections can be ordered.

const (
	LoadBalancerPoolOrderFieldCreatedAt LoadBalancerPoolOrderField = "CREATED_AT"
	LoadBalancerPoolOrderFieldUpdatedAt LoadBalancerPoolOrderField = "UPDATED_AT"
	LoadBalancerPoolOrderFieldName      LoadBalancerPoolOrderField = "name"
	LoadBalancerPoolOrderFieldProtocol  LoadBalancerPoolOrderField = "protocol"
)

func (LoadBalancerPoolOrderField) IsValid

func (e LoadBalancerPoolOrderField) IsValid() bool

func (LoadBalancerPoolOrderField) MarshalGQL

func (e LoadBalancerPoolOrderField) MarshalGQL(w io.Writer)

func (LoadBalancerPoolOrderField) String

func (*LoadBalancerPoolOrderField) UnmarshalGQL

func (e *LoadBalancerPoolOrderField) UnmarshalGQL(v interface{}) error

type LoadBalancerPoolProtocol

type LoadBalancerPoolProtocol string

LoadBalancerPoolProtocol is enum for the field protocol

const (
	LoadBalancerPoolProtocolTCP LoadBalancerPoolProtocol = "tcp"
	LoadBalancerPoolProtocolUDP LoadBalancerPoolProtocol = "udp"
)

func (LoadBalancerPoolProtocol) IsValid

func (e LoadBalancerPoolProtocol) IsValid() bool

func (LoadBalancerPoolProtocol) MarshalGQL

func (e LoadBalancerPoolProtocol) MarshalGQL(w io.Writer)

func (LoadBalancerPoolProtocol) String

func (e LoadBalancerPoolProtocol) String() string

func (*LoadBalancerPoolProtocol) UnmarshalGQL

func (e *LoadBalancerPoolProtocol) UnmarshalGQL(v interface{}) error

type LoadBalancerPoolUpdate

type LoadBalancerPoolUpdate struct {
	LoadBalancerPoolUpdate struct {
		LoadBalancerPool struct {
			ID        gidx.PrefixedID          "json:\"id\" graphql:\"id\""
			Name      string                   "json:\"name\" graphql:\"name\""
			Protocol  LoadBalancerPoolProtocol "json:\"protocol\" graphql:\"protocol\""
			OwnerID   gidx.PrefixedID          "json:\"ownerID\" graphql:\"ownerID\""
			CreatedAt time.Time                "json:\"createdAt\" graphql:\"createdAt\""
			UpdatedAt time.Time                "json:\"updatedAt\" graphql:\"updatedAt\""
		} "json:\"loadBalancerPool\" graphql:\"loadBalancerPool\""
	} "json:\"loadBalancerPoolUpdate\" graphql:\"loadBalancerPoolUpdate\""
}

type LoadBalancerPoolUpdatePayload

type LoadBalancerPoolUpdatePayload struct {
	// The updated pool.
	LoadBalancerPool LoadBalancerPool `json:"loadBalancerPool"`
}

Return response from LoadBalancerPoolUpdate

type LoadBalancerPoolWhereInput

type LoadBalancerPoolWhereInput struct {
	Not *LoadBalancerPoolWhereInput   `json:"not,omitempty"`
	And []*LoadBalancerPoolWhereInput `json:"and,omitempty"`
	Or  []*LoadBalancerPoolWhereInput `json:"or,omitempty"`
	// id field predicates
	ID      *gidx.PrefixedID  `json:"id,omitempty"`
	IDNeq   *gidx.PrefixedID  `json:"idNEQ,omitempty"`
	IDIn    []gidx.PrefixedID `json:"idIn,omitempty"`
	IDNotIn []gidx.PrefixedID `json:"idNotIn,omitempty"`
	IDGt    *gidx.PrefixedID  `json:"idGT,omitempty"`
	IDGte   *gidx.PrefixedID  `json:"idGTE,omitempty"`
	IDLt    *gidx.PrefixedID  `json:"idLT,omitempty"`
	IDLte   *gidx.PrefixedID  `json:"idLTE,omitempty"`
	// created_at field predicates
	CreatedAt      *time.Time   `json:"createdAt,omitempty"`
	CreatedAtNeq   *time.Time   `json:"createdAtNEQ,omitempty"`
	CreatedAtIn    []*time.Time `json:"createdAtIn,omitempty"`
	CreatedAtNotIn []*time.Time `json:"createdAtNotIn,omitempty"`
	CreatedAtGt    *time.Time   `json:"createdAtGT,omitempty"`
	CreatedAtGte   *time.Time   `json:"createdAtGTE,omitempty"`
	CreatedAtLt    *time.Time   `json:"createdAtLT,omitempty"`
	CreatedAtLte   *time.Time   `json:"createdAtLTE,omitempty"`
	// updated_at field predicates
	UpdatedAt      *time.Time   `json:"updatedAt,omitempty"`
	UpdatedAtNeq   *time.Time   `json:"updatedAtNEQ,omitempty"`
	UpdatedAtIn    []*time.Time `json:"updatedAtIn,omitempty"`
	UpdatedAtNotIn []*time.Time `json:"updatedAtNotIn,omitempty"`
	UpdatedAtGt    *time.Time   `json:"updatedAtGT,omitempty"`
	UpdatedAtGte   *time.Time   `json:"updatedAtGTE,omitempty"`
	UpdatedAtLt    *time.Time   `json:"updatedAtLT,omitempty"`
	UpdatedAtLte   *time.Time   `json:"updatedAtLTE,omitempty"`
	// name field predicates
	Name             *string  `json:"name,omitempty"`
	NameNeq          *string  `json:"nameNEQ,omitempty"`
	NameIn           []string `json:"nameIn,omitempty"`
	NameNotIn        []string `json:"nameNotIn,omitempty"`
	NameGt           *string  `json:"nameGT,omitempty"`
	NameGte          *string  `json:"nameGTE,omitempty"`
	NameLt           *string  `json:"nameLT,omitempty"`
	NameLte          *string  `json:"nameLTE,omitempty"`
	NameContains     *string  `json:"nameContains,omitempty"`
	NameHasPrefix    *string  `json:"nameHasPrefix,omitempty"`
	NameHasSuffix    *string  `json:"nameHasSuffix,omitempty"`
	NameEqualFold    *string  `json:"nameEqualFold,omitempty"`
	NameContainsFold *string  `json:"nameContainsFold,omitempty"`
	// protocol field predicates
	Protocol      *LoadBalancerPoolProtocol  `json:"protocol,omitempty"`
	ProtocolNeq   *LoadBalancerPoolProtocol  `json:"protocolNEQ,omitempty"`
	ProtocolIn    []LoadBalancerPoolProtocol `json:"protocolIn,omitempty"`
	ProtocolNotIn []LoadBalancerPoolProtocol `json:"protocolNotIn,omitempty"`
	// ports edge predicates
	HasPorts     *bool                         `json:"hasPorts,omitempty"`
	HasPortsWith []*LoadBalancerPortWhereInput `json:"hasPortsWith,omitempty"`
	// origins edge predicates
	HasOrigins     *bool                           `json:"hasOrigins,omitempty"`
	HasOriginsWith []*LoadBalancerOriginWhereInput `json:"hasOriginsWith,omitempty"`
}

LoadBalancerPoolWhereInput is used for filtering Pool objects. Input was generated by ent.

type LoadBalancerPort

type LoadBalancerPort struct {
	ID             gidx.PrefixedID     `json:"id"`
	CreatedAt      time.Time           `json:"createdAt"`
	UpdatedAt      time.Time           `json:"updatedAt"`
	Number         int64               `json:"number"`
	Name           string              `json:"name"`
	LoadBalancerID gidx.PrefixedID     `json:"loadBalancerID"`
	Pools          []*LoadBalancerPool `json:"pools,omitempty"`
	LoadBalancer   LoadBalancer        `json:"loadBalancer"`
}

func (LoadBalancerPort) GetID

func (this LoadBalancerPort) GetID() gidx.PrefixedID

The id of the object.

func (LoadBalancerPort) IsEntity

func (LoadBalancerPort) IsEntity()

func (LoadBalancerPort) IsNode

func (LoadBalancerPort) IsNode()

type LoadBalancerPortConnection

type LoadBalancerPortConnection struct {
	// A list of edges.
	Edges []*LoadBalancerPortEdge `json:"edges,omitempty"`
	// Information to aid in pagination.
	PageInfo PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int64 `json:"totalCount"`
}

A connection to a list of items.

type LoadBalancerPortCreate

type LoadBalancerPortCreate struct {
	LoadBalancerPortCreate struct {
		LoadBalancerPort struct {
			ID           gidx.PrefixedID "json:\"id\" graphql:\"id\""
			Name         string          "json:\"name\" graphql:\"name\""
			Number       int64           "json:\"number\" graphql:\"number\""
			LoadBalancer struct {
				ID gidx.PrefixedID "json:\"id\" graphql:\"id\""
			} "json:\"loadBalancer\" graphql:\"loadBalancer\""
			CreatedAt time.Time "json:\"createdAt\" graphql:\"createdAt\""
			UpdatedAt time.Time "json:\"updatedAt\" graphql:\"updatedAt\""
		} "json:\"loadBalancerPort\" graphql:\"loadBalancerPort\""
	} "json:\"loadBalancerPortCreate\" graphql:\"loadBalancerPortCreate\""
}

type LoadBalancerPortCreatePayload

type LoadBalancerPortCreatePayload struct {
	// The created load balancer port.
	LoadBalancerPort LoadBalancerPort `json:"loadBalancerPort"`
}

Return response from loadBalancerPortCreate

type LoadBalancerPortDelete

type LoadBalancerPortDelete struct {
	LoadBalancerPortDelete struct {
		DeletedID gidx.PrefixedID "json:\"deletedID\" graphql:\"deletedID\""
	} "json:\"loadBalancerPortDelete\" graphql:\"loadBalancerPortDelete\""
}

type LoadBalancerPortDeletePayload

type LoadBalancerPortDeletePayload struct {
	// The ID of the deleted load balancer port.
	DeletedID gidx.PrefixedID `json:"deletedID"`
}

Return response from loadBalancerPortDelete

type LoadBalancerPortEdge

type LoadBalancerPortEdge struct {
	// The item at the end of the edge.
	Node *LoadBalancerPort `json:"node,omitempty"`
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
}

An edge in a connection.

type LoadBalancerPortOrder

type LoadBalancerPortOrder struct {
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
	// The field by which to order LoadBalancerPorts.
	Field LoadBalancerPortOrderField `json:"field"`
}

Ordering options for LoadBalancerPort connections

type LoadBalancerPortOrderField

type LoadBalancerPortOrderField string

Properties by which LoadBalancerPort connections can be ordered.

const (
	LoadBalancerPortOrderFieldCreatedAt LoadBalancerPortOrderField = "CREATED_AT"
	LoadBalancerPortOrderFieldUpdatedAt LoadBalancerPortOrderField = "UPDATED_AT"
	LoadBalancerPortOrderFieldNumber    LoadBalancerPortOrderField = "number"
	LoadBalancerPortOrderFieldName      LoadBalancerPortOrderField = "name"
)

func (LoadBalancerPortOrderField) IsValid

func (e LoadBalancerPortOrderField) IsValid() bool

func (LoadBalancerPortOrderField) MarshalGQL

func (e LoadBalancerPortOrderField) MarshalGQL(w io.Writer)

func (LoadBalancerPortOrderField) String

func (*LoadBalancerPortOrderField) UnmarshalGQL

func (e *LoadBalancerPortOrderField) UnmarshalGQL(v interface{}) error

type LoadBalancerPortUpdate

type LoadBalancerPortUpdate struct {
	LoadBalancerPortUpdate struct {
		LoadBalancerPort struct {
			ID        gidx.PrefixedID "json:\"id\" graphql:\"id\""
			Name      string          "json:\"name\" graphql:\"name\""
			Number    int64           "json:\"number\" graphql:\"number\""
			CreatedAt time.Time       "json:\"createdAt\" graphql:\"createdAt\""
			UpdatedAt time.Time       "json:\"updatedAt\" graphql:\"updatedAt\""
		} "json:\"loadBalancerPort\" graphql:\"loadBalancerPort\""
	} "json:\"loadBalancerPortUpdate\" graphql:\"loadBalancerPortUpdate\""
}

type LoadBalancerPortUpdatePayload

type LoadBalancerPortUpdatePayload struct {
	// The updated load balancer port.
	LoadBalancerPort LoadBalancerPort `json:"loadBalancerPort"`
}

Return response from loadBalancerPortUpdate

type LoadBalancerPortWhereInput

type LoadBalancerPortWhereInput struct {
	Not *LoadBalancerPortWhereInput   `json:"not,omitempty"`
	And []*LoadBalancerPortWhereInput `json:"and,omitempty"`
	Or  []*LoadBalancerPortWhereInput `json:"or,omitempty"`
	// id field predicates
	ID      *gidx.PrefixedID  `json:"id,omitempty"`
	IDNeq   *gidx.PrefixedID  `json:"idNEQ,omitempty"`
	IDIn    []gidx.PrefixedID `json:"idIn,omitempty"`
	IDNotIn []gidx.PrefixedID `json:"idNotIn,omitempty"`
	IDGt    *gidx.PrefixedID  `json:"idGT,omitempty"`
	IDGte   *gidx.PrefixedID  `json:"idGTE,omitempty"`
	IDLt    *gidx.PrefixedID  `json:"idLT,omitempty"`
	IDLte   *gidx.PrefixedID  `json:"idLTE,omitempty"`
	// created_at field predicates
	CreatedAt      *time.Time   `json:"createdAt,omitempty"`
	CreatedAtNeq   *time.Time   `json:"createdAtNEQ,omitempty"`
	CreatedAtIn    []*time.Time `json:"createdAtIn,omitempty"`
	CreatedAtNotIn []*time.Time `json:"createdAtNotIn,omitempty"`
	CreatedAtGt    *time.Time   `json:"createdAtGT,omitempty"`
	CreatedAtGte   *time.Time   `json:"createdAtGTE,omitempty"`
	CreatedAtLt    *time.Time   `json:"createdAtLT,omitempty"`
	CreatedAtLte   *time.Time   `json:"createdAtLTE,omitempty"`
	// updated_at field predicates
	UpdatedAt      *time.Time   `json:"updatedAt,omitempty"`
	UpdatedAtNeq   *time.Time   `json:"updatedAtNEQ,omitempty"`
	UpdatedAtIn    []*time.Time `json:"updatedAtIn,omitempty"`
	UpdatedAtNotIn []*time.Time `json:"updatedAtNotIn,omitempty"`
	UpdatedAtGt    *time.Time   `json:"updatedAtGT,omitempty"`
	UpdatedAtGte   *time.Time   `json:"updatedAtGTE,omitempty"`
	UpdatedAtLt    *time.Time   `json:"updatedAtLT,omitempty"`
	UpdatedAtLte   *time.Time   `json:"updatedAtLTE,omitempty"`
	// number field predicates
	Number      *int64  `json:"number,omitempty"`
	NumberNeq   *int64  `json:"numberNEQ,omitempty"`
	NumberIn    []int64 `json:"numberIn,omitempty"`
	NumberNotIn []int64 `json:"numberNotIn,omitempty"`
	NumberGt    *int64  `json:"numberGT,omitempty"`
	NumberGte   *int64  `json:"numberGTE,omitempty"`
	NumberLt    *int64  `json:"numberLT,omitempty"`
	NumberLte   *int64  `json:"numberLTE,omitempty"`
	// name field predicates
	Name             *string  `json:"name,omitempty"`
	NameNeq          *string  `json:"nameNEQ,omitempty"`
	NameIn           []string `json:"nameIn,omitempty"`
	NameNotIn        []string `json:"nameNotIn,omitempty"`
	NameGt           *string  `json:"nameGT,omitempty"`
	NameGte          *string  `json:"nameGTE,omitempty"`
	NameLt           *string  `json:"nameLT,omitempty"`
	NameLte          *string  `json:"nameLTE,omitempty"`
	NameContains     *string  `json:"nameContains,omitempty"`
	NameHasPrefix    *string  `json:"nameHasPrefix,omitempty"`
	NameHasSuffix    *string  `json:"nameHasSuffix,omitempty"`
	NameEqualFold    *string  `json:"nameEqualFold,omitempty"`
	NameContainsFold *string  `json:"nameContainsFold,omitempty"`
	// pools edge predicates
	HasPools     *bool                         `json:"hasPools,omitempty"`
	HasPoolsWith []*LoadBalancerPoolWhereInput `json:"hasPoolsWith,omitempty"`
	// load_balancer edge predicates
	HasLoadBalancer     *bool                     `json:"hasLoadBalancer,omitempty"`
	HasLoadBalancerWith []*LoadBalancerWhereInput `json:"hasLoadBalancerWith,omitempty"`
}

LoadBalancerPortWhereInput is used for filtering Port objects. Input was generated by ent.

type LoadBalancerProvider

type LoadBalancerProvider struct {
	// The ID for the load balancer provider.
	ID        gidx.PrefixedID `json:"id"`
	CreatedAt time.Time       `json:"createdAt"`
	UpdatedAt time.Time       `json:"updatedAt"`
	// The name of the load balancer provider.
	Name          string                 `json:"name"`
	LoadBalancers LoadBalancerConnection `json:"loadBalancers"`
	// The owner of the load balancer provider.
	Owner ResourceOwner `json:"owner"`
}

func (LoadBalancerProvider) GetID

func (this LoadBalancerProvider) GetID() gidx.PrefixedID

The id of the object.

func (LoadBalancerProvider) IsEntity

func (LoadBalancerProvider) IsEntity()

func (LoadBalancerProvider) IsNode

func (LoadBalancerProvider) IsNode()

type LoadBalancerProviderConnection

type LoadBalancerProviderConnection struct {
	// A list of edges.
	Edges []*LoadBalancerProviderEdge `json:"edges,omitempty"`
	// Information to aid in pagination.
	PageInfo PageInfo `json:"pageInfo"`
	// Identifies the total count of items in the connection.
	TotalCount int64 `json:"totalCount"`
}

A connection to a list of items.

type LoadBalancerProviderCreate

type LoadBalancerProviderCreate struct {
	LoadBalancerProviderCreate struct {
		LoadBalancerProvider struct {
			ID    gidx.PrefixedID "json:\"id\" graphql:\"id\""
			Name  string          "json:\"name\" graphql:\"name\""
			Owner struct {
				ID gidx.PrefixedID "json:\"id\" graphql:\"id\""
			} "json:\"owner\" graphql:\"owner\""
			CreatedAt time.Time "json:\"createdAt\" graphql:\"createdAt\""
			UpdatedAt time.Time "json:\"updatedAt\" graphql:\"updatedAt\""
		} "json:\"loadBalancerProvider\" graphql:\"loadBalancerProvider\""
	} "json:\"loadBalancerProviderCreate\" graphql:\"loadBalancerProviderCreate\""
}

type LoadBalancerProviderCreatePayload

type LoadBalancerProviderCreatePayload struct {
	// The created load balancer provider.
	LoadBalancerProvider LoadBalancerProvider `json:"loadBalancerProvider"`
}

Return response from loadBalancerProviderCreate

type LoadBalancerProviderDelete

type LoadBalancerProviderDelete struct {
	LoadBalancerProviderDelete struct {
		DeletedID gidx.PrefixedID "json:\"deletedID\" graphql:\"deletedID\""
	} "json:\"loadBalancerProviderDelete\" graphql:\"loadBalancerProviderDelete\""
}

type LoadBalancerProviderDeletePayload

type LoadBalancerProviderDeletePayload struct {
	// The ID of the deleted load balancer provider.
	DeletedID gidx.PrefixedID `json:"deletedID"`
}

Return response from loadBalancerProviderDelete

type LoadBalancerProviderEdge

type LoadBalancerProviderEdge struct {
	// The item at the end of the edge.
	Node *LoadBalancerProvider `json:"node,omitempty"`
	// A cursor for use in pagination.
	Cursor string `json:"cursor"`
}

An edge in a connection.

type LoadBalancerProviderOrder

type LoadBalancerProviderOrder struct {
	// The ordering direction.
	Direction OrderDirection `json:"direction"`
	// The field by which to order LoadBalancerProviders.
	Field LoadBalancerProviderOrderField `json:"field"`
}

Ordering options for LoadBalancerProvider connections

type LoadBalancerProviderOrderField

type LoadBalancerProviderOrderField string

Properties by which LoadBalancerProvider connections can be ordered.

const (
	LoadBalancerProviderOrderFieldID        LoadBalancerProviderOrderField = "ID"
	LoadBalancerProviderOrderFieldCreatedAt LoadBalancerProviderOrderField = "CREATED_AT"
	LoadBalancerProviderOrderFieldUpdatedAt LoadBalancerProviderOrderField = "UPDATED_AT"
	LoadBalancerProviderOrderFieldName      LoadBalancerProviderOrderField = "NAME"
	LoadBalancerProviderOrderFieldOwner     LoadBalancerProviderOrderField = "OWNER"
)

func (LoadBalancerProviderOrderField) IsValid

func (LoadBalancerProviderOrderField) MarshalGQL

func (e LoadBalancerProviderOrderField) MarshalGQL(w io.Writer)

func (LoadBalancerProviderOrderField) String

func (*LoadBalancerProviderOrderField) UnmarshalGQL

func (e *LoadBalancerProviderOrderField) UnmarshalGQL(v interface{}) error

type LoadBalancerProviderUpdate

type LoadBalancerProviderUpdate struct {
	LoadBalancerProviderUpdate struct {
		LoadBalancerProvider struct {
			ID        gidx.PrefixedID "json:\"id\" graphql:\"id\""
			Name      string          "json:\"name\" graphql:\"name\""
			CreatedAt time.Time       "json:\"createdAt\" graphql:\"createdAt\""
			UpdatedAt time.Time       "json:\"updatedAt\" graphql:\"updatedAt\""
		} "json:\"loadBalancerProvider\" graphql:\"loadBalancerProvider\""
	} "json:\"loadBalancerProviderUpdate\" graphql:\"loadBalancerProviderUpdate\""
}

type LoadBalancerProviderUpdatePayload

type LoadBalancerProviderUpdatePayload struct {
	// The updated load balancer provider.
	LoadBalancerProvider LoadBalancerProvider `json:"loadBalancerProvider"`
}

Return response from loadBalancerProviderUpdate

type LoadBalancerProviderWhereInput

type LoadBalancerProviderWhereInput struct {
	Not *LoadBalancerProviderWhereInput   `json:"not,omitempty"`
	And []*LoadBalancerProviderWhereInput `json:"and,omitempty"`
	Or  []*LoadBalancerProviderWhereInput `json:"or,omitempty"`
	// id field predicates
	ID      *gidx.PrefixedID  `json:"id,omitempty"`
	IDNeq   *gidx.PrefixedID  `json:"idNEQ,omitempty"`
	IDIn    []gidx.PrefixedID `json:"idIn,omitempty"`
	IDNotIn []gidx.PrefixedID `json:"idNotIn,omitempty"`
	IDGt    *gidx.PrefixedID  `json:"idGT,omitempty"`
	IDGte   *gidx.PrefixedID  `json:"idGTE,omitempty"`
	IDLt    *gidx.PrefixedID  `json:"idLT,omitempty"`
	IDLte   *gidx.PrefixedID  `json:"idLTE,omitempty"`
	// created_at field predicates
	CreatedAt      *time.Time   `json:"createdAt,omitempty"`
	CreatedAtNeq   *time.Time   `json:"createdAtNEQ,omitempty"`
	CreatedAtIn    []*time.Time `json:"createdAtIn,omitempty"`
	CreatedAtNotIn []*time.Time `json:"createdAtNotIn,omitempty"`
	CreatedAtGt    *time.Time   `json:"createdAtGT,omitempty"`
	CreatedAtGte   *time.Time   `json:"createdAtGTE,omitempty"`
	CreatedAtLt    *time.Time   `json:"createdAtLT,omitempty"`
	CreatedAtLte   *time.Time   `json:"createdAtLTE,omitempty"`
	// updated_at field predicates
	UpdatedAt      *time.Time   `json:"updatedAt,omitempty"`
	UpdatedAtNeq   *time.Time   `json:"updatedAtNEQ,omitempty"`
	UpdatedAtIn    []*time.Time `json:"updatedAtIn,omitempty"`
	UpdatedAtNotIn []*time.Time `json:"updatedAtNotIn,omitempty"`
	UpdatedAtGt    *time.Time   `json:"updatedAtGT,omitempty"`
	UpdatedAtGte   *time.Time   `json:"updatedAtGTE,omitempty"`
	UpdatedAtLt    *time.Time   `json:"updatedAtLT,omitempty"`
	UpdatedAtLte   *time.Time   `json:"updatedAtLTE,omitempty"`
	// name field predicates
	Name             *string  `json:"name,omitempty"`
	NameNeq          *string  `json:"nameNEQ,omitempty"`
	NameIn           []string `json:"nameIn,omitempty"`
	NameNotIn        []string `json:"nameNotIn,omitempty"`
	NameGt           *string  `json:"nameGT,omitempty"`
	NameGte          *string  `json:"nameGTE,omitempty"`
	NameLt           *string  `json:"nameLT,omitempty"`
	NameLte          *string  `json:"nameLTE,omitempty"`
	NameContains     *string  `json:"nameContains,omitempty"`
	NameHasPrefix    *string  `json:"nameHasPrefix,omitempty"`
	NameHasSuffix    *string  `json:"nameHasSuffix,omitempty"`
	NameEqualFold    *string  `json:"nameEqualFold,omitempty"`
	NameContainsFold *string  `json:"nameContainsFold,omitempty"`
	// load_balancers edge predicates
	HasLoadBalancers     *bool                     `json:"hasLoadBalancers,omitempty"`
	HasLoadBalancersWith []*LoadBalancerWhereInput `json:"hasLoadBalancersWith,omitempty"`
}

LoadBalancerProviderWhereInput is used for filtering Provider objects. Input was generated by ent.

type LoadBalancerUpdate

type LoadBalancerUpdate struct {
	LoadBalancerUpdate struct {
		LoadBalancer struct {
			ID        gidx.PrefixedID "json:\"id\" graphql:\"id\""
			Name      string          "json:\"name\" graphql:\"name\""
			CreatedAt time.Time       "json:\"createdAt\" graphql:\"createdAt\""
			UpdatedAt time.Time       "json:\"updatedAt\" graphql:\"updatedAt\""
		} "json:\"loadBalancer\" graphql:\"loadBalancer\""
	} "json:\"loadBalancerUpdate\" graphql:\"loadBalancerUpdate\""
}

type LoadBalancerUpdatePayload

type LoadBalancerUpdatePayload struct {
	// The updated load balancer.
	LoadBalancer LoadBalancer `json:"loadBalancer"`
}

Return response from loadBalancerUpdate

type LoadBalancerWhereInput

type LoadBalancerWhereInput struct {
	Not *LoadBalancerWhereInput   `json:"not,omitempty"`
	And []*LoadBalancerWhereInput `json:"and,omitempty"`
	Or  []*LoadBalancerWhereInput `json:"or,omitempty"`
	// id field predicates
	ID      *gidx.PrefixedID  `json:"id,omitempty"`
	IDNeq   *gidx.PrefixedID  `json:"idNEQ,omitempty"`
	IDIn    []gidx.PrefixedID `json:"idIn,omitempty"`
	IDNotIn []gidx.PrefixedID `json:"idNotIn,omitempty"`
	IDGt    *gidx.PrefixedID  `json:"idGT,omitempty"`
	IDGte   *gidx.PrefixedID  `json:"idGTE,omitempty"`
	IDLt    *gidx.PrefixedID  `json:"idLT,omitempty"`
	IDLte   *gidx.PrefixedID  `json:"idLTE,omitempty"`
	// created_at field predicates
	CreatedAt      *time.Time   `json:"createdAt,omitempty"`
	CreatedAtNeq   *time.Time   `json:"createdAtNEQ,omitempty"`
	CreatedAtIn    []*time.Time `json:"createdAtIn,omitempty"`
	CreatedAtNotIn []*time.Time `json:"createdAtNotIn,omitempty"`
	CreatedAtGt    *time.Time   `json:"createdAtGT,omitempty"`
	CreatedAtGte   *time.Time   `json:"createdAtGTE,omitempty"`
	CreatedAtLt    *time.Time   `json:"createdAtLT,omitempty"`
	CreatedAtLte   *time.Time   `json:"createdAtLTE,omitempty"`
	// updated_at field predicates
	UpdatedAt      *time.Time   `json:"updatedAt,omitempty"`
	UpdatedAtNeq   *time.Time   `json:"updatedAtNEQ,omitempty"`
	UpdatedAtIn    []*time.Time `json:"updatedAtIn,omitempty"`
	UpdatedAtNotIn []*time.Time `json:"updatedAtNotIn,omitempty"`
	UpdatedAtGt    *time.Time   `json:"updatedAtGT,omitempty"`
	UpdatedAtGte   *time.Time   `json:"updatedAtGTE,omitempty"`
	UpdatedAtLt    *time.Time   `json:"updatedAtLT,omitempty"`
	UpdatedAtLte   *time.Time   `json:"updatedAtLTE,omitempty"`
	// name field predicates
	Name             *string  `json:"name,omitempty"`
	NameNeq          *string  `json:"nameNEQ,omitempty"`
	NameIn           []string `json:"nameIn,omitempty"`
	NameNotIn        []string `json:"nameNotIn,omitempty"`
	NameGt           *string  `json:"nameGT,omitempty"`
	NameGte          *string  `json:"nameGTE,omitempty"`
	NameLt           *string  `json:"nameLT,omitempty"`
	NameLte          *string  `json:"nameLTE,omitempty"`
	NameContains     *string  `json:"nameContains,omitempty"`
	NameHasPrefix    *string  `json:"nameHasPrefix,omitempty"`
	NameHasSuffix    *string  `json:"nameHasSuffix,omitempty"`
	NameEqualFold    *string  `json:"nameEqualFold,omitempty"`
	NameContainsFold *string  `json:"nameContainsFold,omitempty"`
	// ports edge predicates
	HasPorts     *bool                         `json:"hasPorts,omitempty"`
	HasPortsWith []*LoadBalancerPortWhereInput `json:"hasPortsWith,omitempty"`
	// provider edge predicates
	HasProvider     *bool                             `json:"hasProvider,omitempty"`
	HasProviderWith []*LoadBalancerProviderWhereInput `json:"hasProviderWith,omitempty"`
}

LoadBalancerWhereInput is used for filtering LoadBalancer objects. Input was generated by ent.

type Location

type Location struct {
	ID            gidx.PrefixedID        `json:"id"`
	LoadBalancers LoadBalancerConnection `json:"loadBalancers"`
}

func (Location) IsEntity

func (Location) IsEntity()

type MetadataNode added in v0.0.27

type MetadataNode interface {
	IsMetadataNode()
	GetID() gidx.PrefixedID
}

type Mutation

type Mutation struct {
	LoadBalancerOriginCreate   LoadBalancerOriginCreatePayload   "json:\"loadBalancerOriginCreate\" graphql:\"loadBalancerOriginCreate\""
	LoadBalancerOriginUpdate   LoadBalancerOriginUpdatePayload   "json:\"loadBalancerOriginUpdate\" graphql:\"loadBalancerOriginUpdate\""
	LoadBalancerOriginDelete   LoadBalancerOriginDeletePayload   "json:\"loadBalancerOriginDelete\" graphql:\"loadBalancerOriginDelete\""
	LoadBalancerCreate         LoadBalancerCreatePayload         "json:\"loadBalancerCreate\" graphql:\"loadBalancerCreate\""
	LoadBalancerUpdate         LoadBalancerUpdatePayload         "json:\"loadBalancerUpdate\" graphql:\"loadBalancerUpdate\""
	LoadBalancerDelete         LoadBalancerDeletePayload         "json:\"loadBalancerDelete\" graphql:\"loadBalancerDelete\""
	LoadBalancerPoolCreate     LoadBalancerPoolCreatePayload     "json:\"loadBalancerPoolCreate\" graphql:\"loadBalancerPoolCreate\""
	LoadBalancerPoolUpdate     LoadBalancerPoolUpdatePayload     "json:\"loadBalancerPoolUpdate\" graphql:\"loadBalancerPoolUpdate\""
	LoadBalancerPoolDelete     LoadBalancerPoolDeletePayload     "json:\"loadBalancerPoolDelete\" graphql:\"loadBalancerPoolDelete\""
	LoadBalancerPortCreate     LoadBalancerPortCreatePayload     "json:\"loadBalancerPortCreate\" graphql:\"loadBalancerPortCreate\""
	LoadBalancerPortUpdate     LoadBalancerPortUpdatePayload     "json:\"loadBalancerPortUpdate\" graphql:\"loadBalancerPortUpdate\""
	LoadBalancerPortDelete     LoadBalancerPortDeletePayload     "json:\"loadBalancerPortDelete\" graphql:\"loadBalancerPortDelete\""
	LoadBalancerProviderCreate LoadBalancerProviderCreatePayload "json:\"loadBalancerProviderCreate\" graphql:\"loadBalancerProviderCreate\""
	LoadBalancerProviderUpdate LoadBalancerProviderUpdatePayload "json:\"loadBalancerProviderUpdate\" graphql:\"loadBalancerProviderUpdate\""
	LoadBalancerProviderDelete LoadBalancerProviderDeletePayload "json:\"loadBalancerProviderDelete\" graphql:\"loadBalancerProviderDelete\""
}

type Node

type Node interface {
	IsNode()
	// The id of the object.
	GetID() gidx.PrefixedID
}

An object with an ID. Follows the [Relay Global Object Identification Specification](https://relay.dev/graphql/objectidentification.htm)

type OrderDirection

type OrderDirection string

Possible directions in which to order a list of items when provided an `orderBy` argument.

const (
	// Specifies an ascending order for a given `orderBy` argument.
	OrderDirectionAsc OrderDirection = "ASC"
	// Specifies a descending order for a given `orderBy` argument.
	OrderDirectionDesc OrderDirection = "DESC"
)

func (OrderDirection) IsValid

func (e OrderDirection) IsValid() bool

func (OrderDirection) MarshalGQL

func (e OrderDirection) MarshalGQL(w io.Writer)

func (OrderDirection) String

func (e OrderDirection) String() string

func (*OrderDirection) UnmarshalGQL

func (e *OrderDirection) UnmarshalGQL(v interface{}) error

type PageInfo

type PageInfo struct {
	// When paginating forwards, are there more items?
	HasNextPage bool `json:"hasNextPage"`
	// When paginating backwards, are there more items?
	HasPreviousPage bool `json:"hasPreviousPage"`
	// When paginating backwards, the cursor to continue.
	StartCursor *string `json:"startCursor,omitempty"`
	// When paginating forwards, the cursor to continue.
	EndCursor *string `json:"endCursor,omitempty"`
}

Information about pagination in a connection. https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo

type Query

type Query struct {
	LoadBalancerPools    LoadBalancerPoolConnection "json:\"loadBalancerPools\" graphql:\"loadBalancerPools\""
	LoadBalancer         LoadBalancer               "json:\"loadBalancer\" graphql:\"loadBalancer\""
	LoadBalancerPool     LoadBalancerPool           "json:\"loadBalancerPool\" graphql:\"loadBalancerPool\""
	LoadBalancerProvider LoadBalancerProvider       "json:\"loadBalancerProvider\" graphql:\"loadBalancerProvider\""
	Entities             []Entity                   "json:\"_entities\" graphql:\"_entities\""
	Service              Service                    "json:\"_service\" graphql:\"_service\""
}

type ResourceOwner added in v0.0.20

type ResourceOwner struct {
	ID                     gidx.PrefixedID                `json:"id"`
	LoadBalancers          LoadBalancerConnection         `json:"loadBalancers"`
	LoadBalancerPools      LoadBalancerPoolConnection     `json:"loadBalancerPools"`
	LoadBalancersProviders LoadBalancerProviderConnection `json:"loadBalancersProviders"`
}

func (ResourceOwner) IsEntity added in v0.0.20

func (ResourceOwner) IsEntity()

type Service

type Service struct {
	Sdl *string `json:"sdl,omitempty"`
}

type UpdateLoadBalancerInput

type UpdateLoadBalancerInput struct {
	// The name of the load balancer.
	Name          *string           `json:"name,omitempty"`
	AddPortIDs    []gidx.PrefixedID `json:"addPortIDs,omitempty"`
	RemovePortIDs []gidx.PrefixedID `json:"removePortIDs,omitempty"`
	ClearPorts    *bool             `json:"clearPorts,omitempty"`
}

Input information to update a load balancer.

type UpdateLoadBalancerOriginInput

type UpdateLoadBalancerOriginInput struct {
	Name       *string `json:"name,omitempty"`
	Weight     *int64  `json:"weight,omitempty"`
	Target     *string `json:"target,omitempty"`
	PortNumber *int64  `json:"portNumber,omitempty"`
	Active     *bool   `json:"active,omitempty"`
}

UpdateLoadBalancerOriginInput is used for update LoadBalancerOrigin object. Input was generated by ent.

type UpdateLoadBalancerPoolInput

type UpdateLoadBalancerPoolInput struct {
	Name            *string                   `json:"name,omitempty"`
	Protocol        *LoadBalancerPoolProtocol `json:"protocol,omitempty"`
	AddPortIDs      []gidx.PrefixedID         `json:"addPortIDs,omitempty"`
	RemovePortIDs   []gidx.PrefixedID         `json:"removePortIDs,omitempty"`
	ClearPorts      *bool                     `json:"clearPorts,omitempty"`
	AddOriginIDs    []gidx.PrefixedID         `json:"addOriginIDs,omitempty"`
	RemoveOriginIDs []gidx.PrefixedID         `json:"removeOriginIDs,omitempty"`
	ClearOrigins    *bool                     `json:"clearOrigins,omitempty"`
}

UpdateLoadBalancerPoolInput is used for update LoadBalancerPool object. Input was generated by ent.

type UpdateLoadBalancerPortInput

type UpdateLoadBalancerPortInput struct {
	Number        *int64            `json:"number,omitempty"`
	Name          *string           `json:"name,omitempty"`
	AddPoolIDs    []gidx.PrefixedID `json:"addPoolIDs,omitempty"`
	RemovePoolIDs []gidx.PrefixedID `json:"removePoolIDs,omitempty"`
	ClearPools    *bool             `json:"clearPools,omitempty"`
}

UpdateLoadBalancerPortInput is used for update LoadBalancerPort object. Input was generated by ent.

type UpdateLoadBalancerProviderInput

type UpdateLoadBalancerProviderInput struct {
	// The name of the load balancer provider.
	Name *string `json:"name,omitempty"`
}

Input information to update a load balancer provider.

Jump to

Keyboard shortcuts

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