cdn

package
v0.0.0-...-016f84a Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

nolint

nolint

nolint

nolint

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CDN

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

CDN provides access to "cdn" component of Yandex.Cloud

func NewCDN

func NewCDN(g func(ctx context.Context) (*grpc.ClientConn, error)) *CDN

NewCDN creates instance of CDN

func (*CDN) Cache

func (c *CDN) Cache() *CacheServiceClient

Cache gets CacheService client

func (*CDN) Origin

func (c *CDN) Origin() *OriginServiceClient

Origin gets OriginService client

func (*CDN) OriginGroup

func (c *CDN) OriginGroup() *OriginGroupServiceClient

OriginGroup gets OriginGroupService client

func (*CDN) Provider

func (c *CDN) Provider() *ProviderServiceClient

Provider gets ProviderService client

func (*CDN) Resource

func (c *CDN) Resource() *ResourceServiceClient

Resource gets ResourceService client

type CacheServiceClient

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

CacheServiceClient is a cdn.CacheServiceClient with lazy GRPC connection initialization.

func (*CacheServiceClient) Prefetch

Prefetch implements cdn.CacheServiceClient

func (*CacheServiceClient) Purge

Purge implements cdn.CacheServiceClient

type OriginGroupIterator

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

func (*OriginGroupIterator) Error

func (it *OriginGroupIterator) Error() error

func (*OriginGroupIterator) Next

func (it *OriginGroupIterator) Next() bool

func (*OriginGroupIterator) Take

func (it *OriginGroupIterator) Take(size int64) ([]*cdn.OriginGroup, error)

func (*OriginGroupIterator) TakeAll

func (it *OriginGroupIterator) TakeAll() ([]*cdn.OriginGroup, error)

func (*OriginGroupIterator) Value

func (it *OriginGroupIterator) Value() *cdn.OriginGroup

type OriginGroupServiceClient

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

OriginGroupServiceClient is a cdn.OriginGroupServiceClient with lazy GRPC connection initialization.

func (*OriginGroupServiceClient) Create

Create implements cdn.OriginGroupServiceClient

func (*OriginGroupServiceClient) Delete

Delete implements cdn.OriginGroupServiceClient

func (*OriginGroupServiceClient) Get

Get implements cdn.OriginGroupServiceClient

func (*OriginGroupServiceClient) List

List implements cdn.OriginGroupServiceClient

func (*OriginGroupServiceClient) OriginGroupIterator

func (*OriginGroupServiceClient) Update

Update implements cdn.OriginGroupServiceClient

type OriginServiceClient

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

OriginServiceClient is a cdn.OriginServiceClient with lazy GRPC connection initialization.

func (*OriginServiceClient) Create

Create implements cdn.OriginServiceClient

func (*OriginServiceClient) Delete

Delete implements cdn.OriginServiceClient

func (*OriginServiceClient) Get

Get implements cdn.OriginServiceClient

func (*OriginServiceClient) List

List implements cdn.OriginServiceClient

func (*OriginServiceClient) Update

Update implements cdn.OriginServiceClient

type ProviderActivatedIterator

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

func (*ProviderActivatedIterator) Error

func (it *ProviderActivatedIterator) Error() error

func (*ProviderActivatedIterator) Next

func (it *ProviderActivatedIterator) Next() bool

func (*ProviderActivatedIterator) Take

func (it *ProviderActivatedIterator) Take(size int64) ([]string, error)

func (*ProviderActivatedIterator) TakeAll

func (it *ProviderActivatedIterator) TakeAll() ([]string, error)

func (*ProviderActivatedIterator) Value

func (it *ProviderActivatedIterator) Value() string

type ProviderServiceClient

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

ProviderServiceClient is a cdn.ProviderServiceClient with lazy GRPC connection initialization.

func (*ProviderServiceClient) Activate

Activate implements cdn.ProviderServiceClient

func (*ProviderServiceClient) ListActivated

ListActivated implements cdn.ProviderServiceClient

func (*ProviderServiceClient) ProviderActivatedIterator

type ResourceIterator

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

func (*ResourceIterator) Error

func (it *ResourceIterator) Error() error

func (*ResourceIterator) Next

func (it *ResourceIterator) Next() bool

func (*ResourceIterator) Take

func (it *ResourceIterator) Take(size int64) ([]*cdn.Resource, error)

func (*ResourceIterator) TakeAll

func (it *ResourceIterator) TakeAll() ([]*cdn.Resource, error)

func (*ResourceIterator) Value

func (it *ResourceIterator) Value() *cdn.Resource

type ResourceServiceClient

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

ResourceServiceClient is a cdn.ResourceServiceClient with lazy GRPC connection initialization.

func (*ResourceServiceClient) Create

Create implements cdn.ResourceServiceClient

func (*ResourceServiceClient) Delete

Delete implements cdn.ResourceServiceClient

func (*ResourceServiceClient) Get

Get implements cdn.ResourceServiceClient

func (*ResourceServiceClient) GetProviderCName

GetProviderCName implements cdn.ResourceServiceClient

func (*ResourceServiceClient) List

List implements cdn.ResourceServiceClient

func (*ResourceServiceClient) ResourceIterator

func (*ResourceServiceClient) Update

Update implements cdn.ResourceServiceClient

Jump to

Keyboard shortcuts

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